diff --git a/hosts/dell-laptop/default.nix b/hosts/dell-laptop/default.nix index 47bc1de..8895278 100644 --- a/hosts/dell-laptop/default.nix +++ b/hosts/dell-laptop/default.nix @@ -7,7 +7,7 @@ networking.hostName = "dell-laptop"; myConfig = { - boot.systemd.enable = true; + boot-loader.systemd-boot.enable = true; dm.lightdm.enable = true; de.qtile.enable = true; @@ -22,7 +22,7 @@ vpn.lgs.enable = true; comma.enable = true; sops.enable = true; - powersave.enable = true; + auto-cpufreq.enable = true; doas.enable = false; }; diff --git a/modules/system/powersave.nix b/modules/system/auto-cpufreq.nix similarity index 77% rename from modules/system/powersave.nix rename to modules/system/auto-cpufreq.nix index b7dc895..c63059c 100644 --- a/modules/system/powersave.nix +++ b/modules/system/auto-cpufreq.nix @@ -3,9 +3,9 @@ lib, ... }: { - options.myConfig.powersave.enable = lib.mkEnableOption ""; + options.myConfig.auto-cpufreq.enable = lib.mkEnableOption ""; - config = lib.mkIf config.myConfig.powersave.enable { + config = lib.mkIf config.myConfig.auto-cpufreq.enable { services.auto-cpufreq = { enable = true; settings = { diff --git a/modules/system/boot.nix b/modules/system/boot-loader.nix similarity index 64% rename from modules/system/boot.nix rename to modules/system/boot-loader.nix index 7e53bed..0befaad 100644 --- a/modules/system/boot.nix +++ b/modules/system/boot-loader.nix @@ -3,9 +3,9 @@ lib, ... }: { - options.myConfig.boot.systemd.enable = lib.mkEnableOption ""; + options.myConfig.boot-loader.systemd-boot.enable = lib.mkEnableOption ""; - config = lib.mkIf config.myConfig.boot.systemd.enable { + config = lib.mkIf config.myConfig.boot-loader.systemd-boot.enable { boot.tmp.cleanOnBoot = true; boot.loader = { systemd-boot = { diff --git a/modules/system/default.nix b/modules/system/default.nix index 8c4932d..bb8ac93 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -9,11 +9,11 @@ ./auto-gc.nix ./sops.nix ./bluetooth.nix - ./powersave.nix + ./auto-cpufreq.nix ./x-input.nix ./de.nix ./dm.nix ./sound.nix - ./boot.nix + ./boot-loader.nix ]; }