diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-12 16:10:20 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-12 16:10:20 -0700 |
commit | 5c7e7c5a168aa70b98e5410e4dae06ed1795196b (patch) | |
tree | e62be2e58afafe7e17927ee0cf3571af729c3c60 /hosts | |
parent | 7a7baca51f1d0b0b41d98c69890b7105d581e8f4 (diff) | |
download | nix-5c7e7c5a168aa70b98e5410e4dae06ed1795196b.tar nix-5c7e7c5a168aa70b98e5410e4dae06ed1795196b.tar.gz nix-5c7e7c5a168aa70b98e5410e4dae06ed1795196b.tar.bz2 nix-5c7e7c5a168aa70b98e5410e4dae06ed1795196b.tar.lz nix-5c7e7c5a168aa70b98e5410e4dae06ed1795196b.tar.xz nix-5c7e7c5a168aa70b98e5410e4dae06ed1795196b.tar.zst nix-5c7e7c5a168aa70b98e5410e4dae06ed1795196b.zip |
Fix missing file system definitions
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/arrakis/default.nix | 1 | ||||
-rw-r--r-- | 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 = { |