nixos-config/modules/base/plymouth-nixos-blur/default.nix

32 lines
915 B
Nix
Raw Normal View History

2023-01-13 21:20:11 +01:00
{ lib, stdenv, ... }:
let
pname = "plymouth-nixos-blur";
version = "0.1.0";
in
stdenv.mkDerivation {
inherit pname version;
src = ./.;
phases = [ "installPhase" ];
installPhase = ''
2023-01-17 13:45:37 +01:00
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
2023-01-13 21:20:11 +01:00
'';
2023-01-17 13:45:37 +01:00
# substituteInPlace $out/share/plymouth/themes/nixos-blur/nixos-blur.plymouth --replace '@OUT@' $out
2023-01-13 21:20:11 +01:00
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";
}];
};
}