From e5c1c99793e432cf331b0d63aae56d062a894246 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Wed, 19 Apr 2023 17:39:32 -0600 Subject: [PATCH] try systemd-boot --- machines/phil/hardware-configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/machines/phil/hardware-configuration.nix b/machines/phil/hardware-configuration.nix index f63c0d1..4c8deba 100644 --- a/machines/phil/hardware-configuration.nix +++ b/machines/phil/hardware-configuration.nix @@ -9,7 +9,7 @@ (modulesPath + "/profiles/qemu-guest.nix") ]; - efi.enable = true; + boot.loader.systemd-boot.enable = true; boot.initrd.availableKernelModules = [ "xhci_pci" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; @@ -17,13 +17,13 @@ boot.extraModulePackages = [ ]; boot.initrd.luks.devices."enc-pv" = { - device = "/dev/disk/by-uuid/2abaf721-6265-4e37-b369-e44eac54d047"; + device = "/dev/disk/by-uuid/9f1727c7-1e95-47b9-9807-8f38531eed47"; allowDiscards = true; }; fileSystems."/" = { - device = "/dev/disk/by-uuid/91bbdebb-9a2b-4a75-acaa-c1cfd013a667"; + device = "/dev/mapper/vg-root"; fsType = "btrfs"; }; @@ -34,7 +34,7 @@ }; swapDevices = - [{ device = "/dev/disk/by-uuid/1301147e-fc45-4c76-b102-d43385ccfae2"; }]; + [{ device = "/dev/disk/by-uuid/b916094f-cf2a-4be7-b8f1-674ba6473061"; }]; networking.interfaces.enp0s6.useDHCP = lib.mkDefault true;