treewide: refactor bootloader config to common file
This commit is contained in:
parent
1b18133585
commit
cd84be16be
12 changed files with 30 additions and 53 deletions
10
common/boot.nix
Normal file
10
common/boot.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
./base-graphical
|
||||
./base-server
|
||||
./users
|
||||
./boot.nix
|
||||
./environment.nix
|
||||
./home-manager.nix
|
||||
./nginx.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue