modules.system.plymouth: change header img

This commit is contained in:
2025-04-08 15:26:33 +08:00
parent 8ad7ecac9e
commit da76c4d3b0
3 changed files with 16 additions and 6 deletions

View File

@@ -16,12 +16,6 @@ inputs:
{
supportedFilesystems = [ "ntfs" "nfs" "nfsv4" ];
# consoleLogLevel = 7;
plymouth =
{
enable = true;
theme = "mac-style";
themePackages = [(inputs.pkgs.callPackage inputs.topInputs.mac-style {})];
};
kernelParams = inputs.lib.mkIf
(builtins.elem inputs.config.nixos.system.grub.installDevice [ "efi" "efiRemovable" ])
[ "plymouth.use-simpledrm" ];

View File

@@ -0,0 +1,13 @@
inputs:
{
config.boot.plymouth =
{
enable = true;
theme = "mac-style";
themePackages = [((inputs.pkgs.callPackage inputs.topInputs.mac-style {}).overrideAttrs (prev:
{
installPhase = prev.installPhase
+ ''cp ${./nix-doge.png} $out/share/plymouth/themes/mac-style/images/header-image.png'';
}))];
};
}

Binary file not shown.