mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
feat(hosts/merope): update media mountpoints
This commit is contained in:
@@ -88,17 +88,9 @@
|
||||
content = {
|
||||
type = "btrfs";
|
||||
subvolumes = {
|
||||
"/tv" = {
|
||||
"/media" = {
|
||||
mountOptions = ["noatime"];
|
||||
mountpoint = "/srv/media/tv";
|
||||
};
|
||||
"/movies" = {
|
||||
mountOptions = ["noatime"];
|
||||
mountpoint = "/srv/media/movies";
|
||||
};
|
||||
"/photos" = {
|
||||
mountOptions = ["noatime"];
|
||||
mountpoint = "/srv/media/photos";
|
||||
mountpoint = "/srv/media";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
enabled_plugins = ["Label"];
|
||||
copy_torrent_file = true;
|
||||
move_completed = true;
|
||||
torrentfiles_location = "/srv/torrents/files";
|
||||
download_location = "/srv/torrents/downloading";
|
||||
move_completed_path = "/srv/torrents/completed";
|
||||
torrentfiles_location = "/srv/media/incoming/torrent/files";
|
||||
download_location = "/srv/media/incoming/torrent/downloading";
|
||||
move_completed_path = "/srv/media/incoming/torrent/completed";
|
||||
dont_count_slow_torrents = true;
|
||||
max_active_seeding = -1;
|
||||
max_active_limit = -1;
|
||||
@@ -60,14 +60,12 @@
|
||||
];
|
||||
};
|
||||
|
||||
# Continuous background writes to /srv/torrents on the same device as the
|
||||
# rootfs and swapfile. Half the I/O load during the 2026-08-07 stall.
|
||||
systemd.services.deluged.serviceConfig = {
|
||||
CPUWeight = 50;
|
||||
IOWeight = 50;
|
||||
};
|
||||
|
||||
systemd.tmpfiles.settings.srv-torrents."/srv/torrents".d = {
|
||||
systemd.tmpfiles.settings.srv-media-incoming-torrent."/srv/media/incoming/torrent".d = {
|
||||
user = config.services.deluge.user;
|
||||
group = config.services.deluge.group;
|
||||
mode = "0770"; # So that others in the group (e.g. *arr) can move/hardlink completed torrents
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
local_ranges = 127.0.0.1/32
|
||||
api_key = ${config.sops.placeholder.sabnzbd-key}
|
||||
inet_exposure = 2
|
||||
download_dir = /var/lib/sabnzbd/downloading
|
||||
complete_dir = /var/lib/sabnzbd/complete
|
||||
download_dir = /srv/media/incoming/usenet/downloading
|
||||
complete_dir = /srv/media/incoming/usenet/completed
|
||||
log_dir = /var/lib/sabnzbd/logs
|
||||
admin_dir = /var/lib/sabnzbd/admin
|
||||
backup_dir = /var/lib/sabnzbd/backup
|
||||
@@ -31,7 +31,7 @@
|
||||
port = 563
|
||||
username = misterio
|
||||
password = ${config.sops.placeholder.frugalusenet-key}
|
||||
connections = 150
|
||||
connections = 30
|
||||
priority = 0
|
||||
[[frugal-secondary]]
|
||||
enable = 1
|
||||
@@ -41,7 +41,7 @@
|
||||
port = 563
|
||||
username = misterio
|
||||
password = ${config.sops.placeholder.frugalusenet-key}
|
||||
connections = 75
|
||||
connections = 15
|
||||
priority = 0
|
||||
[[frugal-bonus]]
|
||||
enable = 1
|
||||
@@ -51,7 +51,7 @@
|
||||
port = 563
|
||||
username = misterio
|
||||
password = ${config.sops.placeholder.frugalusenet-key}
|
||||
connections = 50
|
||||
connections = 10
|
||||
priority = 1
|
||||
[[eweka]]
|
||||
enable = 1
|
||||
@@ -61,7 +61,7 @@
|
||||
port = 563
|
||||
username = 043b11d25e1d9f6f
|
||||
password = ${config.sops.placeholder.eweka-key}
|
||||
connections = 50
|
||||
connections = 10
|
||||
priority = 2
|
||||
[[blocknews]]
|
||||
enable = 1
|
||||
@@ -71,7 +71,7 @@
|
||||
port = 563
|
||||
username = misterio
|
||||
password = ${config.sops.placeholder.blocknews-key}
|
||||
connections = 50
|
||||
connections = 10
|
||||
priority = 3
|
||||
[[blocknews-secondary]]
|
||||
enable = 1
|
||||
@@ -81,7 +81,7 @@
|
||||
port = 563
|
||||
username = misterio
|
||||
password = ${config.sops.placeholder.blocknews-key}
|
||||
connections = 50
|
||||
connections = 10
|
||||
priority = 3
|
||||
'';
|
||||
owner = config.services.sabnzbd.user;
|
||||
@@ -90,6 +90,12 @@
|
||||
restartUnits = ["sabnzbd.service"];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.settings.srv-media-incoming-usenet."/srv/media/incoming/usenet".d = {
|
||||
user = config.services.sabnzbd.user;
|
||||
group = config.services.sabnzbd.group;
|
||||
mode = "0770"; # So that others in the group (e.g. *arr) can move/hardlink completed files
|
||||
};
|
||||
|
||||
sops.secrets = {
|
||||
sabnzbd-key.sopsFile = ../../secrets.yaml;
|
||||
frugalusenet-key.sopsFile = ../../secrets.yaml;
|
||||
|
||||
Reference in New Issue
Block a user