try systemd-boot
This commit is contained in:
parent
2687cd0462
commit
e5c1c99793
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user