Skip to content
Snippets Groups Projects
Commit ad83c53c authored by Benoit Donneaux's avatar Benoit Donneaux
Browse files

Describe systemd-boot support

parent dca3fc21
No related branches found
No related tags found
2 merge requests!433Reworked hro-config as new morph grid in a branch we can merge in develop,!429update production
......@@ -73,7 +73,7 @@ let
systemd-boot = lib.mkOption
{ type = lib.types.bool;
default = false;
description = "Fill later";
description = "Whether to enable the systemd-boot (formerly gummiboot) EFI boot manager";
};
};
......@@ -111,7 +111,7 @@ in {
{ boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = if cfg.grubDeviceID == "nodev" then "nodev" else "/dev/disk/by-id/${cfg.grubDeviceID}";
boot.loader.systemd-boot.enable = cfg.systemd-boot;
boot.loader.systemd-boot.enable = cfg.systemd-boot;
boot.loader.timeout = 10;
networking.firewall.enable = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment