treewide: refactor bootloader config to common file

This commit is contained in:
Katherina Walshe-Grey 2024-10-01 19:20:34 +01:00
parent 1b18133585
commit cd84be16be
12 changed files with 30 additions and 53 deletions

10
common/boot.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
boot.loader = {
systemd-boot.enable = true;
systemd-boot.editor = false;
systemd-boot.memtest86.enable = true;
efi.canTouchEfiVariables = true;
};
}

View file

@ -3,6 +3,7 @@
./base-graphical
./base-server
./users
./boot.nix
./environment.nix
./home-manager.nix
./nginx.nix