Move boot loader timeout to boot.nix
This commit is contained in:
parent
aad29d3f5b
commit
d660c231c2
@ -22,8 +22,6 @@
|
||||
services.apcupsd.enable = true;
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
||||
boot.loader.timeout = 4; # Otherwise it's impossible to change generations
|
||||
|
||||
secrets.wireguard-wg0 = { };
|
||||
|
||||
persist = {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, pkgs, config, ... }: {
|
||||
boot = {
|
||||
loader = {
|
||||
timeout = lib.mkForce 1;
|
||||
timeout = lib.mkForce 4;
|
||||
grub.enable = lib.mkForce false;
|
||||
systemd-boot.enable = pkgs.system == "x86_64-linux";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user