testing the new config before pushing to main
This commit is contained in:
parent
a545953c2d
commit
c53123d2c5
38 changed files with 370 additions and 198 deletions
|
|
@ -1,17 +1,13 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.systemModules.bootloader;
|
||||
in
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
boot.loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
consoleMode = "max";
|
||||
imports = [ ./systemd ];
|
||||
|
||||
options.systemModules = {
|
||||
bootloader = {
|
||||
systemd = {
|
||||
enable = lib.mkEnableOption "Enable systemd bootloader module";
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue