feat: plymouth

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

View file

@ -11,6 +11,16 @@
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "zfs "]; 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 = { boot.initrd.systemd.services.rollback = {
description = "Rollback ZFS root"; description = "Rollback ZFS root";
@ -25,6 +35,22 @@
}; };
boot.kernelPackages = pkgs.linuxPackages; 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" = { environment.persistence."/persist" = {
enable = true; enable = true;
hideMounts = true; hideMounts = true;