This commit is contained in:
Sanjay Chacku Purakal 2024-10-13 13:48:16 +00:00 committed by GitHub
parent f0265d04d5
commit d525078e6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,30 +34,13 @@ in {
}; };
"/" = { "/" = {
device = "/dev/disk/by-uuid/${disks.root}"; device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs"; fsType = "ext4";
options = [ "subvol=root" "compress=zstd" "noatime" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ];
neededForBoot = true;
};
"/swap" = {
device = "/dev/disk/by-uuid/${disks.root}";
fsType = "btrfs";
options = [ "subvol=swap" "noatime" ];
}; };
}; };
swapDevices = [ { device = "/swap/swapfile"; } ];
services = { services = {
fwupd.enable = true; fwupd.enable = true;
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
btrfs.autoScrub = {
enable = true;
fileSystems = [ "/" ];
};
}; };
hardware = { hardware = {