mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 17:29:30 +08:00
modules.services.howdy: init
This commit is contained in:
@@ -86,6 +86,7 @@ inputs:
|
||||
mariadb.mountFrom = "nodatacow";
|
||||
lumericalLicenseManager.macAddress = "10:5f:ad:10:3e:ca";
|
||||
open-webui.ollamaHost = "127.0.0.1";
|
||||
howdy = {};
|
||||
};
|
||||
bugs = [ "xmunet" "amdpstate" "iwlwifi" ];
|
||||
packages = { mathematica = {}; vasp = {}; lumerical = {}; };
|
||||
|
||||
6
flake.lock
generated
6
flake.lock
generated
@@ -972,11 +972,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1763104824,
|
||||
"narHash": "sha256-nkckSU31gPVbML/csW8B/CA4Z9hkOTxg0w0eFPr7W+U=",
|
||||
"lastModified": 1763859758,
|
||||
"narHash": "sha256-5pSdF0jTjOAd3lyhHV16TYHheaArWeOoI0ApSpToLi0=",
|
||||
"owner": "CHN-beta",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f944372b577d3bb5a4cec7a6848a412bb7ca1beb",
|
||||
"rev": "424f7bd3c1a5b03a21032ae042dd6aba68af8564",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
13
modules/services/howdy.nix
Normal file
13
modules/services/howdy.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
inputs:
|
||||
{
|
||||
options.nixos.services.howdy = let inherit (inputs.lib) mkOption types; in mkOption
|
||||
{ type = types.nullOr (types.submodule {}); default = null; };
|
||||
config = let inherit (inputs.config.nixos.services) howdy; in inputs.lib.mkIf (howdy != null)
|
||||
{
|
||||
services =
|
||||
{
|
||||
howdy = { enable = true; settings.core.detection_notice = true; };
|
||||
linux-enable-ir-emitter.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user