modules.packages.desktop: add lact coolercontrol

This commit is contained in:
2025-06-29 06:11:19 +08:00
parent f17517d3df
commit 143e14de8b
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ inputs: let inherit (inputs) topInputs; in
topInputs.impermanence.nixosModules.impermanence
topInputs.catppuccin.nixosModules.catppuccin
topInputs.nixvirt.nixosModules.default
# TODO: Remove after next release
"${topInputs.nixpkgs-unstable}/nixos/modules/services/hardware/lact.nix"
(inputs:
{
config =

View File

@@ -122,7 +122,9 @@ inputs:
kdeconnect.enable = inputs.lib.mkIf (inputs.config.nixos.system.gui.implementation == "kde") true;
kde-pim = inputs.lib.mkIf (inputs.config.nixos.system.gui.implementation == "kde")
{ enable = true; kmail = true; };
coolercontrol =
{ enable = true; nvidiaSupport = inputs.lib.hasSuffix "nvidia" inputs.config.nixos.hardware.gpu.type; };
};
services.pcscd.enable = true;
services = { pcscd.enable = true; lact.enable = true; };
};
}