Files
cyper-desktop/nixos/plymouth/default.nix
2026-03-27 18:11:06 +01:00

37 lines
774 B
Nix

{ pkgs, ... }:
let
mikuTheme = pkgs.stdenv.mkDerivation {
name = "plymouth-theme-miku";
src = ./miku;
installPhase = ''
mkdir -p $out/share/plymouth/themes/miku/frames
cp miku.plymouth $out/share/plymouth/themes/miku/
cp miku.script $out/share/plymouth/themes/miku/
cp images/frames/*.png $out/share/plymouth/themes/miku/frames/
'';
};
in
{
boot = {
plymouth = {
enable = true;
theme = "miku";
themePackages = [
mikuTheme
];
};
# Enable "Silent boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
loader.timeout = 0;
};
}