diff --git a/devices/pc/default.nix b/devices/pc/default.nix index c6156a1f..0d09ad88 100644 --- a/devices/pc/default.nix +++ b/devices/pc/default.nix @@ -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 = {}; }; diff --git a/flake.lock b/flake.lock index 6725daf6..b9dadbff 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/modules/services/howdy.nix b/modules/services/howdy.nix new file mode 100644 index 00000000..be94a21d --- /dev/null +++ b/modules/services/howdy.nix @@ -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; + }; + }; +}