lact
This commit is contained in:
parent
fdf0e9e18c
commit
9046364d4c
|
@ -3,6 +3,7 @@
|
|||
|
||||
openrgb.enable = true;
|
||||
games.enable = true;
|
||||
lact.enable = true;
|
||||
|
||||
imports = [
|
||||
./hardware.nix
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
./homemanger
|
||||
./xdg
|
||||
./networking
|
||||
./lact
|
||||
./misc
|
||||
];
|
||||
}
|
||||
|
|
16
modules/system/lact/default.nix
Normal file
16
modules/system/lact/default.nix
Normal 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"];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue