mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
modules.system.plymouth: change header img
This commit is contained in:
@@ -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" ];
|
||||
|
||||
13
modules/system/plymouth/default.nix
Normal file
13
modules/system/plymouth/default.nix
Normal 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'';
|
||||
}))];
|
||||
};
|
||||
}
|
||||
BIN
modules/system/plymouth/nix-doge.png
LFS
Normal file
BIN
modules/system/plymouth/nix-doge.png
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user