diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 45e8046..76911f3 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -3,6 +3,7 @@ openrgb.enable = true; games.enable = true; + lact.enable = true; imports = [ ./hardware.nix diff --git a/modules/system/default.nix b/modules/system/default.nix index 6c240eb..6b67be2 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -4,6 +4,7 @@ ./homemanger ./xdg ./networking + ./lact ./misc ]; } diff --git a/modules/system/lact/default.nix b/modules/system/lact/default.nix new file mode 100644 index 0000000..ff6880b --- /dev/null +++ b/modules/system/lact/default.nix @@ -0,0 +1,16 @@ +{ + lib, + config, + pkgs, + ... +}: { + options = { + lact.enable = lib.mkEnableOption ""; + }; + + config = lib.mkIf config.lact.enable { + environment.systemPackages = with pkgs; [lact]; + systemd.packages = with pkgs; [lact]; + systemd.services.lactd.wantedBy = ["multi-user.target"]; + }; +}