Files
nixos/modules/boot.nix
2026-01-02 20:43:09 +01:00

47 lines
988 B
Nix

{ pkgs, ... }:
{
boot = {
# --- Bootloader Einstellungen ---
loader = {
systemd-boot = {
enable = true;
configurationLimit = 5;
};
efi.canTouchEfiVariables = true;
timeout = 5;
};
# --- Kernel & Dateisysteme ---
kernelPackages = pkgs.linuxPackages_latest;
supportedFilesystems = [ "exfat" ];
#initrd.kernelModules = [ "nvidia" "nvidia_drm" ];
kernelParams = [
"nvidia-drm.modeset=1"
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
# --- Initrd & Plymouth ---
initrd.compressor = "zstd";
initrd.verbose = false;
consoleLogLevel = 0;
plymouth = {
enable = true;
theme = "mac-style";
themePackages = [ pkgs.mac-style-plymouth ];
};
# --- Hardware-Modprobe ---
extraModprobeConfig = ''options bluetooth disable_ertm=1'';
};
}