diff --git a/modules/hosts/arcturus/config.nix b/modules/hosts/arcturus/config.nix index 12af57d..52ccd95 100644 --- a/modules/hosts/arcturus/config.nix +++ b/modules/hosts/arcturus/config.nix @@ -59,9 +59,6 @@ }; }; - # --- Boot --- - boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen; - # --- Networking --- networking = { hostName = hostName; diff --git a/modules/hosts/sirius/config.nix b/modules/hosts/sirius/config.nix index 23180cb..7e0819c 100644 --- a/modules/hosts/sirius/config.nix +++ b/modules/hosts/sirius/config.nix @@ -56,9 +56,6 @@ }; }; - # --- Boot --- - boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen; - # --- Networking --- networking = { hostName = hostName; diff --git a/modules/nixos/boot/loader.nix b/modules/nixos/boot/loader.nix index e03e00c..1b72e14 100644 --- a/modules/nixos/boot/loader.nix +++ b/modules/nixos/boot/loader.nix @@ -1,5 +1,8 @@ { flake.modules.nixos.boot = { - boot.loader.efi.canTouchEfiVariables = true; + boot.loader = { + timeout = 1; + efi.canTouchEfiVariables = true; + }; }; } diff --git a/modules/nixos/boot/misc.nix b/modules/nixos/boot/misc.nix new file mode 100644 index 0000000..d6c56ab --- /dev/null +++ b/modules/nixos/boot/misc.nix @@ -0,0 +1,11 @@ +{ + flake.modules.nixos.boot = + { pkgs, ... }: + { + boot = { + consoleLogLevel = 0; + initrd.verbose = false; + kernelPackages = pkgs.linuxPackages_zen; + }; + }; +}