Allow standalone home-manager installation
This commit is contained in:
parent
55a36b27e2
commit
7025bdae9e
6 changed files with 91 additions and 60 deletions
|
@ -1,6 +1,7 @@
|
|||
# Custom packages, that can be defined similarly to ones from nixpkgs
|
||||
# You can build them using 'nix build .#example' or (legacy) 'nix-build -A example'
|
||||
|
||||
{ pkgs }: {
|
||||
{ pkgs, inputs }: {
|
||||
dzgui = pkgs.callPackage ./dzgui.nix { };
|
||||
plymouth-theme-red = pkgs.callPackage ./plymouth-theme-red.nix { inherit inputs; };
|
||||
}
|
||||
|
|
25
pkgs/plymouth-theme-red.nix
Normal file
25
pkgs/plymouth-theme-red.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ pkgs, inputs }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "red-loader-plymouth";
|
||||
version = "0.0.1";
|
||||
|
||||
src = inputs.plymouth-themes;
|
||||
|
||||
buildInputs = [
|
||||
pkgs.git
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
mkdir -p $out/share/plymouth/themes/
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cp -r pack_4/red_loader $out/share/plymouth/themes
|
||||
cat pack_4/red_loader/red_loader.plymouth | sed "s@\/usr\/@$out\/@" > \
|
||||
$out/share/plymouth/themes/red_loader/red_loader.plymouth
|
||||
'';
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue