mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Rename modules auto-cpufreq and boot-loader
This commit is contained in:
parent
e50ba91241
commit
bb1a8c5b44
4 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
@ -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 = {
|
||||
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue