From 9249304ae8372d33daf52e157f2866f566c56aad Mon Sep 17 00:00:00 2001 From: serenity-F Date: Tue, 7 Oct 2025 18:42:35 +1000 Subject: [PATCH] update --- core/display.nix | 13 +++++++++++-- core/sygil-plymouth.nix | 34 ---------------------------------- 2 files changed, 11 insertions(+), 36 deletions(-) delete mode 100644 core/sygil-plymouth.nix diff --git a/core/display.nix b/core/display.nix index 2375554..de542e0 100755 --- a/core/display.nix +++ b/core/display.nix @@ -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 = { diff --git a/core/sygil-plymouth.nix b/core/sygil-plymouth.nix deleted file mode 100644 index 276c247..0000000 --- a/core/sygil-plymouth.nix +++ /dev/null @@ -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 ]; - }; -}