feat: make it so only hosts with gui enabled have dbus/gnome-keyring/gvfs :)

This commit is contained in:
Ahwx 2025-04-24 11:17:44 +02:00
parent 09e6a3a302
commit 3b00c85ad1
7 changed files with 58 additions and 22 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, config, ... }:
{
imports = [
./hardware-configuration.nix
@ -35,12 +35,13 @@
device = "/dev/sda";
useOSProber = true;
};
kernelModules = ["acpi_call"];
extraModulePackages = with config.boot.kernelPackages;
kernelModules = [ "acpi_call" ];
extraModulePackages =
with config.boot.kernelPackages;
[
acpi_call
cpupower
]
++ [pkgs.cpupower-gui];
++ [ pkgs.cpupower-gui ];
};
}