From 36120abf6b71ca2d9ee5fc599b6272a455cb95ee Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Sat, 2 Sep 2023 16:43:30 +0200 Subject: [PATCH] Update filesystems for omen Signed-off-by: Magic_RB --- nixos/systems/omen/filesystems.nix | 8 ++++---- nixos/systems/omen/grub.nix | 10 ++++++++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/nixos/systems/omen/filesystems.nix b/nixos/systems/omen/filesystems.nix index 4427baa..3a6019b 100644 --- a/nixos/systems/omen/filesystems.nix +++ b/nixos/systems/omen/filesystems.nix @@ -28,12 +28,12 @@ in fsType = "zfs"; }; - "/boot" = { - device = "/dev/disk/by-uuid/078c1885-5e0c-4bb8-bec3-5bf40785f5cd"; + "/boot/1" = { + device = "/dev/disk/by-uuid/14647e24-3421-4398-b30e-537de6472433"; fsType = "ext4"; }; - "/boot/EFI" = { - device = "/dev/disk/by-uuid/6F1E-8B1B"; + "/boot/1/EFI" = { + device = "/dev/disk/by-uuid/C58B-3BF8"; fsType = "vfat"; }; diff --git a/nixos/systems/omen/grub.nix b/nixos/systems/omen/grub.nix index 1c7c68c..5d3ccde 100644 --- a/nixos/systems/omen/grub.nix +++ b/nixos/systems/omen/grub.nix @@ -3,12 +3,18 @@ boot.loader = { systemd-boot.enable = false; efi.canTouchEfiVariables = true; - efi.efiSysMountPoint = "/boot/EFI"; grub = { enable = true; efiSupport = true; - devices = [ "nodev" ]; + + mirroredBoots = [ + { + devices = [ "nodev" ]; + path = "/boot/1"; + efiSysMountPoint = "/boot/1/EFI"; + } + ]; }; }; }