Rename modules auto-cpufreq and boot-loader

This commit is contained in:
SebastianStork 2024-03-15 09:42:06 +01:00
parent e50ba91241
commit bb1a8c5b44
4 changed files with 8 additions and 8 deletions

View file

@ -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;
};

View file

@ -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 = {

View file

@ -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 = {

View file

@ -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
];
}