don't use raid

This commit is contained in:
zuckerberg 2021-06-13 13:19:16 -04:00
parent d75b47a6ea
commit 421f99798f
2 changed files with 8 additions and 9 deletions

View File

@ -6,7 +6,7 @@
../../common/common.nix ../../common/common.nix
]; ];
# fjhduiepwmuenuev2d2i22py6idc5h2k72ylh3fbrrxr7an6dw6ogfid.onion # 5synsrjgvfzywruomjsfvfwhhlgxqhyofkzeqt2eisyijvjvebnu2xyd.onion
nix.flakes.enable = true; nix.flakes.enable = true;
@ -17,7 +17,7 @@
luks = { luks = {
enable = true; enable = true;
device.path = "/dev/raid0/raid0lv"; device.path = "/dev/disk/by-uuid/2f736fba-8a0c-4fb5-8041-c849fb5e1297";
}; };
networking.hostName = "liza"; networking.hostName = "liza";

View File

@ -9,29 +9,28 @@
]; ];
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "floppy" "sr_mod" "virtio_blk" ]; boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "floppy" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ "dm-snapshot" "dm-raid" ]; boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "dm-raid" ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/d929b5fc-b9f3-435b-b21f-d3fbbcb1577b"; { device = "/dev/disk/by-uuid/b90eaf3c-2f91-499a-a066-861e0f4478df";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=root" ];
}; };
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/disk/by-uuid/d929b5fc-b9f3-435b-b21f-d3fbbcb1577b"; { device = "/dev/disk/by-uuid/b90eaf3c-2f91-499a-a066-861e0f4478df";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=home" ]; options = [ "subvol=home" ];
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/dd516b94-d090-4991-a476-3a9b6127dd6f"; { device = "/dev/disk/by-uuid/2b8f6f6d-9358-4d30-8341-7426574e0819";
fsType = "ext3"; fsType = "ext3";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/23294145-e00d-487f-9746-3c2972d8d899"; } [ { device = "/dev/disk/by-uuid/ef7a83db-4b33-41d1-85fc-cff69e480352"; }
]; ];
} }