feat(host/polymita-picta): boot splash screen

This commit is contained in:
Malte Tammena 2024-01-12 20:15:30 +01:00
parent ee2d48afe5
commit 32a59a6379
3 changed files with 25 additions and 3 deletions

View file

@ -13,7 +13,13 @@
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "uas" "usbhid" "sd_mod" "sdhci_pci"]; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "uas" "usbhid" "sd_mod" "sdhci_pci"];
boot.initrd.kernelModules = []; boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"]; boot.kernelModules = [
"kvm-amd"
"quiet"
"splash"
"boot.shell_on_fail"
"rd.systemd.show_status=false"
];
boot.extraModulePackages = []; boot.extraModulePackages = [];
fileSystems."/" = { fileSystems."/" = {

View file

@ -11,7 +11,11 @@
../modules/steam.nix ../modules/steam.nix
]; ];
config = { config = {
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot = {
enable = true;
editor = false;
configurationLimit = 5;
};
boot.loader.efi.canTouchEfiVariables = false; boot.loader.efi.canTouchEfiVariables = false;
boot.binfmt.registrations.appimage = { boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false; wrapInterpreterInShell = false;
@ -21,6 +25,18 @@
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff''; mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02''; magicOrExtension = ''\x7fELF....AI\x02'';
}; };
boot.consoleLogLevel = 0;
boot.initrd.verbose = false;
boot.plymouth = {
enable = true;
theme = "breeze";
};
console = {
font = "ter-132n";
packages = [pkgs.terminus_font];
useXkbConfig = true;
earlySetup = false;
};
networking.hostName = "polymita-picta"; networking.hostName = "polymita-picta";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View file

@ -158,7 +158,7 @@ in {
boot.kernelPackages = pkgs.lib.mkOverride 2000 pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.lib.mkOverride 2000 pkgs.linuxPackages_latest;
boot.loader.timeout = pkgs.lib.mkDefault 1; boot.loader.timeout = pkgs.lib.mkDefault 1;
# This setting is fine, on hosts with x/wayland, I'll want to increase this # This setting is fine, on hosts with x/wayland, I'll want to increase this
boot.loader.systemd-boot.configurationLimit = 10; boot.loader.systemd-boot.configurationLimit = lib.mkDefault 10;
# Network configuration with tailscale # Network configuration with tailscale
networking.useDHCP = false; networking.useDHCP = false;