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