fix homepc config

This commit is contained in:
2025-12-18 16:35:08 -05:00
parent f74622d058
commit a66da8ced2
2 changed files with 22 additions and 48 deletions

View File

@@ -20,40 +20,14 @@
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.supportedFileSystems = [ "btrfs" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/3c89fa92-1d43-4c48-b228-e2725fa70ee9";
fsType = "btrfs";
options = [ "compress=zstd" ];
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/3c89fa92-1d43-4c48-b228-e2725fa70ee9";
fsType = "btrfs";
options = [ "compress=zstd" ];
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/3c89fa92-1d43-4c48-b228-e2725fa70ee9";
fsType = "btrfs";
options = [ "compress=zstd" "noatime" ];
};
fileSystems."/swap" = {
device = "/dev/disk/by-uuid/3c89fa92-1d43-4c48-b228-e2725fa70ee9";
fsType = "btrfs";
options = [ "noatime" ];
};
fileSystems."/persist" = {
device = "/dev/disk/by-uuid/3c89fa92-1d43-4c48-b228-e2725fa70ee9";
fsType = "btrfs";
options = [ "compress=zstd" ];
device = "/dev/disk/by-uuid/2849654b-6c3c-4db7-9603-5fa96ce561aa";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/2260-4302";
device = "/dev/disk/by-uuid/90C0-8767";
fsType = "vfat";
options = [
"fmask=0077"
@@ -62,7 +36,7 @@
};
swapDevices = [
{ device = "/swap/swapfile"; }
{ device = "/dev/disk/by-uuid/7762478c-1123-4a1f-9402-1bba3723e53d"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";