diff options
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 48 |
1 files changed, 43 insertions, 5 deletions
diff --git a/configuration.nix b/configuration.nix index e969e1e..ac97903 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,10 +22,49 @@ # === System Settings === - boot.kernelPackages = pkgs.linuxPackages_latest; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - boot.loader.systemd-boot.configurationLimit = 5; + boot = { + kernelPackages = pkgs.linuxPackages_latest; + loader = { + # Hide the OS choice for bootloaders. + # It's still possible to open the bootloader list by pressing any key + # It will just not appear on screen unless a key is pressed + timeout = 0; + + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot"; + }; + grub = { + enable = true; + device = "nodev"; + useOSProber = true; + efiSupport = true; + }; + systemd-boot = { + enable = false; + configurationLimit = 5; + }; + }; + plymouth = { + enable = true; + theme = "rings"; + themePackages = with pkgs; [ + # By default we would install all themes + (adi1090x-plymouth-themes.override { + selected_themes = [ "rings" ]; + }) + ]; + }; + + # Enable "Silent boot" + consoleLogLevel = 3; + initrd.verbose = false; + kernelParams = [ + "quiet" + "udev.log_level=3" + "systemd.show_status=auto" + ]; + }; networking.hostName = "kronos"; networking.networkmanager.enable = true; @@ -158,7 +197,6 @@ environment.variables = { - system.copySystemConfiguration = true; system.stateVersion = "25.11"; } |
