chore: commonize bootloader

This commit is contained in:
Noa Aarts 2024-06-28 08:46:20 +02:00
parent f69abba97e
commit bc55f12776
4 changed files with 21 additions and 6 deletions

12
common/boot.nix Normal file
View file

@ -0,0 +1,12 @@
{lib,...}:
{
boot.loader = {
timeout = lib.mkDefault 0;
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
editor = false;
configurationLimit = 100;
};
};
}

7
common/default.nix Normal file
View file

@ -0,0 +1,7 @@
{...}:
{
imports = [
./locale.nix
./boot.nix
];
}