update
This commit is contained in:
parent
6b74b5d1d8
commit
9249304ae8
2 changed files with 11 additions and 36 deletions
|
|
@ -1,8 +1,17 @@
|
|||
{ inputs, pkgs, label, version, lib, niri, ... }:
|
||||
|
||||
let sygil = pkgs.callPackage ./sygil-plymouth.nix { inherit pkgs; };
|
||||
let
|
||||
|
||||
sygil-plymouth = pkgs.fetchurl {
|
||||
url = "https://codeberg.org/serenity-F/sygil-plymouth/archive/main.tar.gz";
|
||||
hash = "sha256-DIgCVNs6hRZmn2pDQcHPhLxkQjHCkznQRIA4+hUlWUQ=";
|
||||
};
|
||||
|
||||
in {
|
||||
sygil = pkgs.callPackage sygil-plymouth {};
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
system = {
|
||||
nixos = {
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
{ fetchurl, pkgs, lib, }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "sygil";
|
||||
version = "0.0.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://codeberg.org/serenity-F/sygil-plymouth/archive/0.0.1.tar.gz";
|
||||
hash = "sha256-7eqNxqkgmp3QgNmiYVBJk9hdE3gIMY+GT6PkGlCC6M0=";
|
||||
};
|
||||
|
||||
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