mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
modules.packages.desktop: add lact coolercontrol
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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; };
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user