From 5b91f3ecdd8b1bf879372e78320e0731d29c7c0c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 5 Mar 2022 13:23:55 -0800 Subject: tahoe: new hardware configuratio --- hosts/tahoe/hardware-configuration.nix | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to 'hosts/tahoe') diff --git a/hosts/tahoe/hardware-configuration.nix b/hosts/tahoe/hardware-configuration.nix index 64b1dfc..f7b0a73 100644 --- a/hosts/tahoe/hardware-configuration.nix +++ b/hosts/tahoe/hardware-configuration.nix @@ -8,60 +8,52 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/0ac21391-139e-4fc8-997c-082abe1a828d"; + { device = "/dev/disk/by-uuid/128c2a5e-48f6-4d94-b196-fb5db500b36d"; fsType = "btrfs"; options = [ "subvol=nixos" ]; }; - boot.initrd.luks.devices."system".device = "/dev/disk/by-uuid/52cf8e9b-3b61-4d4a-af07-8939ce4688e9"; + boot.initrd.luks.devices."system".device = "/dev/disk/by-uuid/0d11e090-d88f-4313-8a41-8ef52eea0870"; fileSystems."/home" = - { device = "/dev/disk/by-uuid/0ac21391-139e-4fc8-997c-082abe1a828d"; + { device = "/dev/disk/by-uuid/128c2a5e-48f6-4d94-b196-fb5db500b36d"; fsType = "btrfs"; options = [ "subvol=home" ]; }; fileSystems."/.snapshots" = - { device = "/dev/disk/by-uuid/0ac21391-139e-4fc8-997c-082abe1a828d"; + { device = "/dev/disk/by-uuid/128c2a5e-48f6-4d94-b196-fb5db500b36d"; fsType = "btrfs"; options = [ "subvol=snapshots" ]; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/73CA-2941"; + { device = "/dev/disk/by-uuid/CBB9-B788"; fsType = "vfat"; }; - fileSystems."/data/media" = - { device = "/dev/disk/by-uuid/4058be93-d37b-4d1e-93b2-9b5a2380fb74"; + fileSystems."/data/fast" = + { device = "/dev/disk/by-uuid/b9290b55-8ff6-4bd0-843d-a9e6f7a4df59"; fsType = "btrfs"; - options = [ "subvol=media" ]; }; - boot.initrd.luks.devices."raid-fast".device = "/dev/disk/by-uuid/6faff2ec-429a-4d39-8b22-ac5e31780567"; + boot.initrd.luks.devices."raid-fast".device = "/dev/disk/by-uuid/66c58a92-45fe-4b03-9be0-214ff67c177c"; - fileSystems."/data/containers" = - { device = "/dev/disk/by-uuid/4058be93-d37b-4d1e-93b2-9b5a2380fb74"; + fileSystems."/data/slow" = + { device = "/dev/disk/by-uuid/0f16db51-0ee7-48d8-9e48-653b85ecbf0a"; fsType = "btrfs"; - options = [ "subvol=containers" ]; }; - fileSystems."/data/backups" = - { device = "/dev/disk/by-uuid/0bd9fbf4-e3d7-4e69-a21b-57d804a8a454"; - fsType = "btrfs"; - options = [ "subvol=backups" ]; - }; - - boot.initrd.luks.devices."raid-slow".device = "/dev/disk/by-uuid/aa8c3bae-d39c-44bd-a14b-e5f5d610a57d"; + boot.initrd.luks.devices."raid-slow".device = "/dev/disk/by-uuid/d8b21267-d457-4522-91d9-5481b44dd0a5"; swapDevices = - [ { device = "/dev/disk/by-uuid/f39642e3-d506-418d-93c3-482f1376b7f0"; } + [ { device = "/dev/disk/by-uuid/0f54b5ab-4fca-4c5a-a9eb-622553145163"; } ]; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -- cgit 1.4.1