Init
This commit is contained in:
36
nixos/plymouth/default.nix
Normal file
36
nixos/plymouth/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user