From 5c7e7c5a168aa70b98e5410e4dae06ed1795196b Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 12 Oct 2024 16:10:20 -0700 Subject: Fix missing file system definitions --- hosts/arrakis/default.nix | 1 - hosts/arrakis/hardware-configuration.nix | 14 +++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix index 93c23c4..a34b647 100644 --- a/hosts/arrakis/default.nix +++ b/hosts/arrakis/default.nix @@ -16,7 +16,6 @@ timeout = 3; }; supportedFilesystems = [ "zfs" ]; - zfs.devNodes = "/dev/disk/by-label"; }; environment.systemPackages = with pkgs; [ diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index 2f81803..4583468 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -18,9 +18,16 @@ fsType = "zfs"; }; - fileSystems."/boot" = - { device = "/dev/disk/by-label/boot"; + fileSystems."/efiboot/efi1" = + { device = "/dev/disk/by-label/ESP1"; fsType = "vfat"; + options = [ "X-mount.mkdir" "iocharset=iso8859-1" ]; + }; + + fileSystems."/efiboot/efi2" = + { device = "/dev/disk/by-label/ESP2"; + fsType = "vfat"; + options = [ "X-mount.mkdir" "iocharset=iso8859-1" ]; }; fileSystems."/nix" = @@ -39,7 +46,8 @@ }; swapDevices = - [ { device = "/dev/disk/by-label/swap"; } + [ { device = "/dev/disk/by-label/swap1"; } + { device = "/dev/disk/by-label/swap2"; } ]; hardware = { -- cgit v1.2.3