common aspects reworked into base aspect

This commit is contained in:
William 2026-02-15 14:20:57 -03:00
parent bfa2521ed0
commit 5d1b54c8bf
15 changed files with 72 additions and 112 deletions

23
aspects/base/boot.nix Normal file
View file

@ -0,0 +1,23 @@
{ ... }:
{
flake.modules.nixos.boot =
{ pkgs, ... }:
{
boot = {
loader = {
timeout = 1;
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
editor = false;
consoleMode = "max";
sortKey = "aa";
netbootxyz = {
enable = true;
sortKey = "zz";
};
};
};
};
};
}