added sygil-plymouth.nix & added import to nixpkgs
This commit is contained in:
parent
4e506e3e54
commit
8fac73ff8e
2 changed files with 48 additions and 4 deletions
|
|
@ -24,8 +24,13 @@
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
## Place insecure packages here
|
## Place insecure packages here
|
||||||
permittedInsecurePackages = [ "olm-3.2.16" ];
|
permittedInsecurePackages = [ "olm-3.2.16" ];
|
||||||
|
## Overrides
|
||||||
|
packageOverrides = pkgs: {
|
||||||
|
sygil-plymouth = pkgs.callPackage /home/serenity/repos/sygil-plymouth-nixpkg/package.nix { };
|
||||||
};
|
};
|
||||||
## Overlays - BROKEN FOR NOW
|
};
|
||||||
|
|
||||||
|
## Overlays
|
||||||
overlays = [
|
overlays = [
|
||||||
niri.overlays.niri
|
niri.overlays.niri
|
||||||
## to use overlays exported from other flakes:
|
## to use overlays exported from other flakes:
|
||||||
|
|
@ -37,6 +42,7 @@
|
||||||
#});
|
#});
|
||||||
#})
|
#})
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
## Nix settings for package related stuff
|
## Nix settings for package related stuff
|
||||||
|
|
|
||||||
38
home/resources/themes/sygil-plymouth.nix
Normal file
38
home/resources/themes/sygil-plymouth.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchurl,
|
||||||
|
lib,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
name = "plymouth-sygol-sigil-theme";
|
||||||
|
version = "0.0.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://codeberg.org/serenity-F/sygil-plymouth/archive/snecodn.tar.gz";
|
||||||
|
sha256 = "sha256-MC88q4HvY26FMdRVKrky3WXKHlpMCfNqJwyzcU81Jk8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/plymouth/themes/sygil
|
||||||
|
cp sygil/* $out/share/plymouth/themes/sygil
|
||||||
|
substituteInPlace $out/share/plymouth/themes/sygil/sygil.plymouth \
|
||||||
|
--replace-fail "/usr/" "$out/"
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Animated Plymouth boot theme with the Sygol sigil.";
|
||||||
|
longDescription = ''
|
||||||
|
Animated Plymouth theme with the Sygol sigil.
|
||||||
|
Disk encryption password prompt is supported.
|
||||||
|
'';
|
||||||
|
homepage = "https://codeberg.org/serenity-F/sygil-plymouth";
|
||||||
|
license = lib.licenses.gpl2Only;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
maintainers = with lib.maintainers; [ serenity-f ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue