summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/base-server.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base-server.nix b/modules/base-server.nix

index 3545b31..0b05a9d 100755 --- a/modules/base-server.nix +++ b/modules/base-server.nix
@@ -39,7 +39,7 @@ kernelPackages = pkgs.linuxPackages_latest; loader = { grub = { - devices = [ config.fileSystems."/".device ]; # nodev for EFI only + devices = lib.mkIf (config.fileSystems ? "/boot") [ "nodev" ]; # EFI efiSupport = config.fileSystems ? "/boot" && config.fileSystems."/boot".fsType == "vfat"; efiInstallAsRemovable = config.fileSystems ? "/boot" && config.fileSystems."/boot".fsType == "vfat";