nix: add plymouth

This commit is contained in:
Nico 2025-05-03 16:15:57 +10:00
parent 68d2dc8cab
commit 971c11c1e3
2 changed files with 25 additions and 10 deletions

View file

@ -3,17 +3,32 @@
# theming of grub # theming of grub
{ {
boot.loader.grub = { boot = {
theme = pkgs.stdenv.mkDerivation { loader.grub = {
pname = "hyperfluent"; theme = pkgs.stdenv.mkDerivation {
version = "v1.0.1"; pname = "hyperfluent";
src = pkgs.fetchFromGitHub { version = "v1.0.1";
owner = "Coopydood"; src = pkgs.fetchFromGitHub {
repo = "HyperFluent-GRUB-Theme"; owner = "Coopydood";
rev = "62e525ea2aa250e3f37669d68eb355b6cc997d64"; repo = "HyperFluent-GRUB-Theme";
hash = "sha256-Als4Tp6VwzwHjUyC62mYyiej1pZL9Tzj4uhTRoL+U9Q="; rev = "62e525ea2aa250e3f37669d68eb355b6cc997d64";
hash = "sha256-Als4Tp6VwzwHjUyC62mYyiej1pZL9Tzj4uhTRoL+U9Q=";
};
installPhase = "cp -r nixos $out";
}; };
installPhase = "cp -r nixos $out"; };
initrd.systemd.enable = true;
plymouth = {
enable = true;
theme = "rings";
themePackages = with pkgs; [
# By default we would install all themes
(adi1090x-plymouth-themes.override {
selected_themes = [ "rings" ];
})
];
}; };
}; };
} }

BIN
wallpaper.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB