55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{ pkgs, config, lib, flakeRoot, ... }:
|
|
|
|
{
|
|
############################
|
|
# Bootloader (GRUB)
|
|
############################
|
|
boot.loader = {
|
|
grub = {
|
|
enable = true;
|
|
efiSupport = true;
|
|
devices = [ "nodev" ]; # pas aan naar je echte EFI-device indien nodig
|
|
useOSProber = true;
|
|
timeout = 5;
|
|
};
|
|
};
|
|
|
|
############################
|
|
# Kernel / boot settings
|
|
############################
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
boot.kernelParams = [
|
|
"quiet"
|
|
"splash" # REQUIRED for Plymouth
|
|
"udev.log_level=3"
|
|
"rd.systemd.show_status=false"
|
|
];
|
|
|
|
boot.consoleLogLevel = 0;
|
|
boot.supportedFilesystems = [ "ntfs" ];
|
|
|
|
############################
|
|
# Plymouth
|
|
############################
|
|
boot.plymouth = {
|
|
enable = true;
|
|
theme = "rings";
|
|
|
|
themePackages = [
|
|
(pkgs.adi1090x-plymouth-themes.override {
|
|
selected_themes = [ "rings" ];
|
|
})
|
|
];
|
|
};
|
|
|
|
boot.initrd.systemd.enable = true;
|
|
|
|
############################
|
|
# Clean state
|
|
############################
|
|
# Remove any old theme environment.etc symlinks
|
|
#environment.etc = lib.mkForce {};
|
|
system.stateVersion = "26.05";
|
|
}
|