Rename modules directory system to nixos

This commit is contained in:
SebastianStork 2026-02-26 21:11:45 +01:00
parent 653a6f310b
commit 1c1b9221fc
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
48 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,11 @@
{ config, lib, ... }:
{
options.custom.boot.loader.grub.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.boot.loader.grub.enable {
boot = {
tmp.cleanOnBoot = true;
loader.grub.enable = true;
};
};
}

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
{
options.custom.boot.loader.systemd-boot.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.boot.loader.systemd-boot.enable {
boot = {
tmp.cleanOnBoot = true;
loader = {
systemd-boot = {
enable = true;
editor = false;
configurationLimit = 20;
};
efi.canTouchEfiVariables = true;
};
};
};
}

View file

@ -0,0 +1,22 @@
{ config, lib, ... }:
{
options.custom.boot.silent = lib.mkEnableOption "";
config = lib.mkIf config.custom.boot.silent {
boot = {
loader.timeout = 0;
kernelParams = [
"quiet"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
initrd = {
verbose = false;
systemd.enable = true;
};
consoleLogLevel = 3;
plymouth.enable = true;
};
};
}