swap to systemd-boot

This commit is contained in:
Joseph Hanson 2024-07-14 05:14:13 -05:00
parent 9694dc4dd7
commit 5e09e75f63
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,21 +1,19 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
with lib;
{ {
boot = { boot = {
# for managing/mounting nfs
supportedFilesystems = [ "nfs" ];
loader = { loader = {
grub = { systemd-boot.enable = true;
enable = true;
zfsSupport = true;
device = "nodev";
mirroredBoots = [
{ devices = [ "nodev" ]; path = "/boot"; }
];
};
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
}; };
}; };
}; };
networking = {
networkmanager.enable = true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }