Lots more moves, simplifiactions to options and removed code that peeved me off

This commit is contained in:
Bun 2025-03-18 09:02:34 -04:00
parent 2d2c569705
commit 384e510647
25 changed files with 59 additions and 76 deletions

View file

@ -9,6 +9,7 @@
];
boot = {
kernelParams = [ "nouveau.config=NvGspRm=1" ];
blacklistedKernelModules = [ "pcspkr" ];
kernel.sysctl = {
"vm.max_map_count" = 2147483642;

View file

@ -2,16 +2,10 @@
{
imports = [ lanzaboote.nixosModules.lanzaboote ];
options.system.lanzaboote.enable = lib.mkEnableOption "Enable lanzaboote";
config = lib.mkIf config.system.lanzaboote.enable {
boot = {
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
};
environment.systemPackages = with pkgs; [ sbctl ];
boot = lib.mkIf config.boot.lanzaboote.enable {
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote.pkiBundle = "/etc/secureboot";
};
environment.systemPackages = with pkgs; [ sbctl ];
}

View file

@ -1,9 +1,6 @@
{ config, lib, ... }:
{
options.system.fancyboot.enable = lib.mkEnableOption "Enable Plymouth";
config.boot = lib.mkIf config.system.fancyboot.enable {
plymouth.enable = true;
config.boot = lib.mkIf config.boot.plymouth.enable {
loader.timeout = lib.mkForce 0;
consoleLogLevel = lib.mkForce 0;
initrd.verbose = false;

View file

@ -3,5 +3,6 @@
boot.loader.systemd-boot = {
enable = true;
editor = false;
graceful = true;
};
}