This commit is contained in:
joy 2024-10-13 19:09:48 +02:00
parent fdf0e9e18c
commit 9046364d4c
3 changed files with 18 additions and 0 deletions

View file

@ -3,6 +3,7 @@
openrgb.enable = true;
games.enable = true;
lact.enable = true;
imports = [
./hardware.nix

View file

@ -4,6 +4,7 @@
./homemanger
./xdg
./networking
./lact
./misc
];
}

View file

@ -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"];
};
}