trying sygil-plymouth again
This commit is contained in:
parent
f6ad6171eb
commit
89fe140327
2 changed files with 55 additions and 6 deletions
|
|
@ -1,5 +1,11 @@
|
|||
{ inputs, pkgs, label, lib, niri, ... }:
|
||||
|
||||
let
|
||||
|
||||
sygil-plymouth = import ../home/resources/theme/sygil-plymouth.nix { inherit pkgs; };
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
system = {
|
||||
|
|
@ -43,12 +49,13 @@
|
|||
plymouth = { # enables plymouth boot animations
|
||||
enable = false;
|
||||
extraConfig = "ShowDelay=0";
|
||||
theme = "circle";
|
||||
themePackages = with pkgs; [
|
||||
(adi1090x-plymouth-themes.override {
|
||||
selected_themes = [ "circle" ];
|
||||
})
|
||||
];
|
||||
theme = "sygil-plymouth";
|
||||
themePackages = sygil-plymouth;
|
||||
#themePackages = with pkgs; [
|
||||
#(adi1090x-plymouth-themes.override {
|
||||
#selected_themes = [ "circle" ];
|
||||
#})
|
||||
#];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
42
home/resources/theme/sygil-plymouth.nix
Normal file
42
home/resources/theme/sygil-plymouth.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitea,
|
||||
lib,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "plymouth-sygil-theme";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "Serenity-F";
|
||||
repo = "sygil-plymouth";
|
||||
rev = "0.2.0";
|
||||
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/plymouth/themes/sygil
|
||||
cp sygil/* $out/share/plymouth/themes/sygil
|
||||
chmod +x $out/share/plymouth/themes/sygil/sygil.plymouth
|
||||
substituteInPlace $out/share/plymouth/themes/sygil/sygil.plymouth \
|
||||
--replace-fail "/usr/" "$out/"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Animated sygil Plymouth theme.";
|
||||
homepage = "https://codeberg.org/Serenity-F/sygil-plymouth";
|
||||
license = with lib.licenses; [ gpl3Only ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ Serenity-F ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue