Polish boot.loader settings

This commit is contained in:
Henrik Lissner 2020-04-12 21:02:09 -04:00
parent 0dc17cc5a5
commit 880efcf2c8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -12,8 +12,18 @@
# Nothing in /tmp should survive a reboot # Nothing in /tmp should survive a reboot
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;
# Use simple bootloader; I prefer the on-demand BIOs boot menu # Use simple bootloader; I prefer the on-demand BIOs boot menu
boot.loader.systemd-boot.enable = true; boot.loader = {
boot.loader.efi.canTouchEfiVariables = true; timeout = 1;
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
# Fix a security hole in place for backwards compatibility. See desc in
# nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
editor = false;
# Limit number of generations to display in boot menu
configurationLimit = 10;
};
};
### Universal defaults ### Universal defaults
networking.firewall.enable = true; networking.firewall.enable = true;