nix/modules/hardware/lact/default.nix

17 lines
302 B
Nix
Raw Normal View History

2024-10-13 19:09:48 +02:00
{
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"];
};
}