nix/nixos/common/modules/boot.nix

13 lines
404 B
Nix
Raw Normal View History

2023-09-21 15:22:59 +02:00
{ config, pkgs, ... }: {
2023-09-22 06:23:50 +02:00
# Bootloader
boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.cleanOnBoot = true;
boot.initrd.systemd.enable = true;
boot.kernelParams = ["quiet"];
2023-09-21 15:25:30 +02:00
# Plymouth splash screen
boot.plymouth.enable = true;
# https://github.com/adi1090x/plymouth-themes
boot.plymouth.theme = "red_loader";
boot.plymouth.themePackages = [ pkgs.adi1090x-plymouth-themes ];
2023-09-21 15:22:59 +02:00
}