No dns mullvad

This commit is contained in:
Maxiem Geldhof 2025-10-31 20:19:49 +01:00
parent c48405716c
commit d0d9ab1b5e
3 changed files with 32 additions and 3 deletions

Binary file not shown.

View file

@ -29,11 +29,17 @@ in
group = mediaGroup;
settings = {
incomplete-dir-enabled = true;
incomplete-dir = "/media/torrents/.incomplete";
download-dir = "/mnt/sbox/torrents";
incomplete-dir = "/mnt/sbox//torrents/.incomplete";
blocklist-enabled = true;
blocklist-url = "https://github.com/Naunter/BT_BlockLists/raw/master/bt_blocklists.gz";
utp-enabled = true;
bind-address-ipv4 = "10.64.108.193";
rpc-port = 3027;
rpc-whitelist-enabled = false;
rpc-whitelist = "192.168.1.*,127.0.0.1,localhost,10.100.0.*";
rpc-authentication-required = false;
rpc-bind-address = "0.0.0.0"; #Bind to own IP
};
};
@ -45,12 +51,18 @@ in
openFirewall = false;
};
services.sonarr = {
enable = true;
group = mediaGroup;
openFirewall = false;
};
environment.systemPackages = [
pkgs.flood-for-transmission
];
systemd.tmpfiles.rules = [
"d /media/torrents 0775 torrenter media -"
"d /media/torrents/.incomplete 0775 torrenter media -"
"d /mnt/sbox/torrents 0775 torrenter media -"
"d /mnt/sbox/torrents/.incomplete 0775 torrenter media -"
];
}

View file

@ -20,4 +20,21 @@
"config=/etc/rclone-mnt.conf"
];
};
environment.systemPackages = [
pkgs.samba
];
fileSystems."/mnt/sbox2" = {
device = "//u504615.your-storagebox.de/backup";
fsType = "cifs";
options =
let
# this line prevents hanging on network split
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
in
[ "${automount_opts},credentials=/etc/nixos/smb-secrets" ];
};
}