From 5e09e75f63444d3925dee97cb58afa37a5bcb60a Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sun, 14 Jul 2024 05:14:13 -0500 Subject: [PATCH] swap to systemd-boot --- nixos/profiles/hw-supermicro.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/nixos/profiles/hw-supermicro.nix b/nixos/profiles/hw-supermicro.nix index 127db91..67a7ab8 100644 --- a/nixos/profiles/hw-supermicro.nix +++ b/nixos/profiles/hw-supermicro.nix @@ -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"; }