modules.services.howdy: init

This commit is contained in:
2025-11-23 09:39:13 +08:00
parent 4984093a1f
commit 0bea81e0e1
3 changed files with 17 additions and 3 deletions

View File

@@ -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
View File

@@ -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": {

View 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;
};
};
}