rm jellyfin and deluge cause too much hassle
This commit is contained in:
parent
5c9ac12df7
commit
cb2bc8c1cf
3 changed files with 14 additions and 26 deletions
|
@ -73,13 +73,3 @@ grafana.cything.io {
|
|||
import common
|
||||
reverse_proxy localhost:8088
|
||||
}
|
||||
|
||||
warez.cything.io {
|
||||
import common
|
||||
reverse_proxy localhost:8096
|
||||
}
|
||||
|
||||
t.cything.io {
|
||||
import common
|
||||
reverse_proxy localhost:8112
|
||||
}
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
./ghost.nix
|
||||
./conduit.nix
|
||||
./immich.nix
|
||||
./jellyfin.nix
|
||||
./deluge.nix
|
||||
];
|
||||
|
||||
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
|
||||
|
|
|
@ -33,19 +33,19 @@
|
|||
# };
|
||||
# };
|
||||
|
||||
systemd.services.jellyfin-mount = {
|
||||
enable = true;
|
||||
description = "Mount the jellyfin data remote";
|
||||
after = ["network-online.target"];
|
||||
requires = ["network-online.target"];
|
||||
requiredBy = ["jellyfin.service"];
|
||||
serviceConfig = {
|
||||
Type = "notify";
|
||||
ExecStartPre = "/usr/bin/env mkdir -p /mnt/jellyfin";
|
||||
ExecStart = "${pkgs.rclone}/bin/rclone mount --config /home/yt/.config/rclone/rclone.conf --allow-other --transfers=32 --dir-cache-time 72h --vfs-cache-mode writes --vfs-cache-max-size 2G jellyfin: /mnt/jellyfin";
|
||||
ExecStop = "${pkgs.fuse}/bin/fusermount -u /mnt/jellyfin";
|
||||
EnvironmentFile = config.sops.secrets."rclone/env".path;
|
||||
};
|
||||
};
|
||||
# systemd.services.jellyfin-mount = {
|
||||
# enable = true;
|
||||
# description = "Mount the jellyfin data remote";
|
||||
# after = ["network-online.target"];
|
||||
# requires = ["network-online.target"];
|
||||
# requiredBy = ["jellyfin.service"];
|
||||
# serviceConfig = {
|
||||
# Type = "notify";
|
||||
# ExecStartPre = "/usr/bin/env mkdir -p /mnt/jellyfin";
|
||||
# ExecStart = "${pkgs.rclone}/bin/rclone mount --config /home/yt/.config/rclone/rclone.conf --allow-other --transfers=32 --dir-cache-time 72h --vfs-cache-mode writes --vfs-cache-max-size 2G jellyfin: /mnt/jellyfin";
|
||||
# ExecStop = "${pkgs.fuse}/bin/fusermount -u /mnt/jellyfin";
|
||||
# EnvironmentFile = config.sops.secrets."rclone/env".path;
|
||||
# };
|
||||
# };
|
||||
programs.fuse.userAllowOther = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue