nixos-config/modules/base/plymouth-nixos-blur/default.nix
Erwin Boskma 4cd0f83ce8
Some checks failed
/ check (push) Failing after 2m46s
Run nixfmt
2024-02-05 11:46:52 +01:00

33 lines
935 B
Nix

{ lib, stdenv, ... }:
let
pname = "plymouth-nixos-blur";
version = "0.1.0";
in
stdenv.mkDerivation {
inherit pname version;
src = ./.;
phases = [ "installPhase" ];
installPhase = ''
install -Dm 0644 -t $out/share/plymouth/themes/nixos-blur/images/ $src/*.png
install -Dm 0644 $src/nixos-blur.script $out/share/plymouth/themes/nixos-blur/nixos-blur.script
install -Dm 0644 $src/nixos-blur.plymouth $out/share/plymouth/themes/nixos-blur/nixos-blur.plymouth
'';
# substituteInPlace $out/share/plymouth/themes/nixos-blur/nixos-blur.plymouth --replace '@OUT@' $out
meta = with lib; {
description = "Plymouth theme nixos-blur";
homepage = "https://git.gurkan.in/gurkan/nixos-blur-plymouth";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [
{
email = "erwin@datarift.nl";
github = "eboskma";
name = "Erwin Boskma";
}
];
};
}