feat: plymouth

This commit is contained in:
Xory 2026-01-04 00:57:04 +02:00
parent e248cac97e
commit 9b893a22ee

View file

@ -12,6 +12,16 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "zfs "];
boot.kernelParams = [
"quiet"
"splash" # plymouth stuff
"udev.log_priority=3"
"rd.systemd.show_status=auto"
"boot.shell_on_fail" # good because we're using quiet mode
"net.ifnames=0" # personal opinion
];
boot.kernel.sysctl."kernel.sysrq" = 1; # mostly for REISUB
boot.initrd.systemd.services.rollback = {
description = "Rollback ZFS root";
wantedBy = [ "initrd.target" ];
@ -25,6 +35,22 @@
};
boot.kernelPackages = pkgs.linuxPackages;
# Plymouth
boot.plymouth = {
enable = true;
theme = "lone";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = [ "lone" ];
})
];
};
# Silent boot for Plymouth
boot.consoleLogLevel = 3;
boot.initrd.verbose = false;
environment.persistence."/persist" = {
enable = true;
hideMounts = true;