feat: Added jellyfin for shiro

This commit is contained in:
uttarayan21
2025-06-13 21:46:40 +05:30
parent 4708f79799
commit 7b87c7071f
4 changed files with 47 additions and 38 deletions

View File

@@ -1,4 +1,10 @@
{pkgs, ...}: {
{pkgs, ...}: let
mkScript = scriptFile: deps: (pkgs.writeShellApplication {
runtimeInputs = deps;
name = builtins.baseNameOf scriptFile;
text = builtins.readFile scriptFile;
});
in {
home.packages = [
(pkgs.writeShellApplication
{
@@ -26,5 +32,7 @@
exec $EDITOR "$1"
'';
})
(mkScript ../scripts/yt-dlp.sh (with pkgs; [yt-dlp]))
(mkScript ../scripts/autossh.sh (with pkgs; [autossh openssh]))
];
}