mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11: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";
|
networking.hostName = "dell-laptop";
|
||||||
|
|
||||||
myConfig = {
|
myConfig = {
|
||||||
boot.systemd.enable = true;
|
boot-loader.systemd-boot.enable = true;
|
||||||
|
|
||||||
dm.lightdm.enable = true;
|
dm.lightdm.enable = true;
|
||||||
de.qtile.enable = true;
|
de.qtile.enable = true;
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
vpn.lgs.enable = true;
|
vpn.lgs.enable = true;
|
||||||
comma.enable = true;
|
comma.enable = true;
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
powersave.enable = true;
|
auto-cpufreq.enable = true;
|
||||||
doas.enable = false;
|
doas.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
lib,
|
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 = {
|
services.auto-cpufreq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
lib,
|
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.tmp.cleanOnBoot = true;
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
|
|
@ -9,11 +9,11 @@
|
||||||
./auto-gc.nix
|
./auto-gc.nix
|
||||||
./sops.nix
|
./sops.nix
|
||||||
./bluetooth.nix
|
./bluetooth.nix
|
||||||
./powersave.nix
|
./auto-cpufreq.nix
|
||||||
./x-input.nix
|
./x-input.nix
|
||||||
./de.nix
|
./de.nix
|
||||||
./dm.nix
|
./dm.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
./boot.nix
|
./boot-loader.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue