From 38f137576806072331f33057625c19581909cc50 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Sun, 21 Dec 2025 23:55:05 +0000 Subject: [PATCH] wip: adding plymouth (?) --- hosts/doloro/nixos.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/hosts/doloro/nixos.nix b/hosts/doloro/nixos.nix index 727f5f9..c496a28 100644 --- a/hosts/doloro/nixos.nix +++ b/hosts/doloro/nixos.nix @@ -57,6 +57,21 @@ in }; networking.hostName = "doloroo-main"; # Define your hostname. + boot.kernelPackages = pkgs.linuxPackages_latest; + # Enable "Silent boot" + boot.consoleLogLevel = 3; + boot.initrd.verbose = false; + boot.kernelParams = [ + "quiet" + "splash" + "boot.shell_on_fail" + "udev.log_priority=3" + "rd.systemd.show_status=auto" + ]; + # 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 + boot.loader.timeout = 0; nixpkgs.config.allowUnfree = true; @@ -116,6 +131,16 @@ in "exec" ]; }; + boot.plymouth = { + enable = true; + theme = "rings"; + themePackages = with pkgs; [ + # By default we would install all themes + (adi1090x-plymouth-themes.override { + selected_themes = [ "rings" ]; + }) + ]; + }; hardware.nvidia = { @@ -172,6 +197,14 @@ in ]; fontDir.enable = true; }; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + programs.nix-ld.enable = true; + programs.nix-ld.libraries = with pkgs; [ + fuse + libusb1 + libGL + harfbuzz + ]; # Configure keymap in X11 # services.xserver.xkb.layout = "us";