nixos/kelder: Add custom boot splash
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
{ pkgs, ... }: {
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
plymouth-kelder = pkgs.runCommand "plymouth-kelder" {} ''
|
||||
target="$out"/share/plymouth/themes/kelder
|
||||
mkdir -p "$target"
|
||||
|
||||
substituteAll ${./plymouth/kelder.plymouth} "$target"/kelder.plymouth
|
||||
cp ${./plymouth/kelder.script} "$target"/kelder.script
|
||||
cp ${./plymouth/kelder.png} "$target"/kelder.png
|
||||
cp ${./plymouth/bridge.png} "$target"/bridge.png
|
||||
'';
|
||||
in
|
||||
{
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
themePackages = [ plymouth-kelder ];
|
||||
theme = "kelder";
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
|
Reference in New Issue
Block a user