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, ... }:
with lib;
{
boot = {
# for managing/mounting nfs
supportedFilesystems = [ "nfs" ];
loader = {
grub = {
enable = true;
zfsSupport = true;
device = "nodev";
mirroredBoots = [
{ devices = [ "nodev" ]; path = "/boot"; }
];
};
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
};
};
};
networking = {
networkmanager.enable = true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}