monolith: extract undervolt config

This commit is contained in:
Leonardo Eugênio 2024-07-06 18:32:29 -03:00
parent 89b758f163
commit 0150248650
2 changed files with 17 additions and 8 deletions

View file

@ -23,6 +23,7 @@ in
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
./partition.nix
./undervolt.nix
];
boot.initrd.availableKernelModules = [
"nvme"
@ -66,14 +67,6 @@ in
boot.kernelPackages = pkgs.linuxPackages_6_1;
programs.corectrl = {
enable = true;
gpuOverclock = {
enable = true;
ppfeaturemask = "0xffffffff";
};
};
fileSystems."/mnt/old" = {
device = "/dev/disk/by-label/BTRFS_ROOT";
fsType = "btrfs";