From 421f99798f5d244e430bbb5e882a864ae5b8592e Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Sun, 13 Jun 2021 13:19:16 -0400 Subject: [PATCH] don't use raid --- machines/liza/configuration.nix | 4 ++-- machines/liza/hardware-configuration.nix | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/machines/liza/configuration.nix b/machines/liza/configuration.nix index 7a7953f..f35fc99 100644 --- a/machines/liza/configuration.nix +++ b/machines/liza/configuration.nix @@ -6,7 +6,7 @@ ../../common/common.nix ]; - # fjhduiepwmuenuev2d2i22py6idc5h2k72ylh3fbrrxr7an6dw6ogfid.onion + # 5synsrjgvfzywruomjsfvfwhhlgxqhyofkzeqt2eisyijvjvebnu2xyd.onion nix.flakes.enable = true; @@ -17,7 +17,7 @@ luks = { enable = true; - device.path = "/dev/raid0/raid0lv"; + device.path = "/dev/disk/by-uuid/2f736fba-8a0c-4fb5-8041-c849fb5e1297"; }; networking.hostName = "liza"; diff --git a/machines/liza/hardware-configuration.nix b/machines/liza/hardware-configuration.nix index 43ab848..fb784d5 100644 --- a/machines/liza/hardware-configuration.nix +++ b/machines/liza/hardware-configuration.nix @@ -9,29 +9,28 @@ ]; boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "floppy" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ "dm-snapshot" "dm-raid" ]; - boot.kernelModules = [ "dm-raid" ]; + boot.initrd.kernelModules = [ "dm-snapshot" ]; + boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/d929b5fc-b9f3-435b-b21f-d3fbbcb1577b"; + { device = "/dev/disk/by-uuid/b90eaf3c-2f91-499a-a066-861e0f4478df"; fsType = "btrfs"; - options = [ "subvol=root" ]; }; fileSystems."/home" = - { device = "/dev/disk/by-uuid/d929b5fc-b9f3-435b-b21f-d3fbbcb1577b"; + { device = "/dev/disk/by-uuid/b90eaf3c-2f91-499a-a066-861e0f4478df"; fsType = "btrfs"; options = [ "subvol=home" ]; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/dd516b94-d090-4991-a476-3a9b6127dd6f"; + { device = "/dev/disk/by-uuid/2b8f6f6d-9358-4d30-8341-7426574e0819"; fsType = "ext3"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/23294145-e00d-487f-9746-3c2972d8d899"; } + [ { device = "/dev/disk/by-uuid/ef7a83db-4b33-41d1-85fc-cff69e480352"; } ]; } \ No newline at end of file