feat: Replace disk configuration

This commit is contained in:
uttarayan21
2025-01-05 20:25:46 +05:30
parent 1153534369
commit 3e70fa7efb
5 changed files with 75 additions and 53 deletions

View File

@@ -184,6 +184,21 @@
csshacks = final: prev: {
csshacks = inputs.csshacks;
};
jellyfin = final: prev: {
jellyfin-web = prev.jellyfin-web.overrideAttrs (finalAttrs: previousAttrs: {
installPhase = ''
runHook preInstall
# this is the important line
sed -i "s#</head>#<script src=\"configurationpage?name=skip-intro-button.js\"></script></head>#" dist/index.html
mkdir -p $out/share
cp -a dist $out/share/jellyfin-web
runHook postInstall
'';
});
};
in
[
libfprint
@@ -197,5 +212,6 @@ in
inputs.nur.overlays.default
inputs.rust-overlay.overlays.default
csshacks
jellyfin
]
++ (import ./neovim/overlays.nix self)