From 4f71dadd0127c25e446d086bf5ac04d997f6389f Mon Sep 17 00:00:00 2001 From: baritone Date: Fri, 7 Mar 2025 21:52:23 +0100 Subject: [PATCH] stuff --- disko.nix | 2 +- services/auto-torrent.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/disko.nix b/disko.nix index 28d5292..4314050 100755 --- a/disko.nix +++ b/disko.nix @@ -104,7 +104,7 @@ type = "zfs_fs"; mountpoint = "/home"; }; - src = { + srv = { type = "zfs_fs"; mountpoint = "/srv"; }; diff --git a/services/auto-torrent.nix b/services/auto-torrent.nix index 19e374a..0d06887 100644 --- a/services/auto-torrent.nix +++ b/services/auto-torrent.nix @@ -35,7 +35,7 @@ in { ]; # 1gb of memory - microvm.mem = 1024; + microvm.mem = 1024; microvm.shares = [ { @@ -186,7 +186,7 @@ in { services.transmission = { enable = true; openFirewall = false; - settings.rpc-port = 9091; + home = "/mnt/transmission"; settings.download-dir = "/mnt/transmission"; settings.incomplete-dir = "/mnt/transmission/.incomplete"; downloadDirPermissions = "775"; @@ -194,7 +194,7 @@ in { # debugging users.users.root = { - password = "1234"; + password = "supersecretpassword"; }; services.openssh = { @@ -276,6 +276,6 @@ in { }; }; - networking.firewall.allowedTCPPorts = [port 7979 9696 80 433]; - networking.firewall.allowedUDPPorts = [port 7979 9696 80 433]; + networking.firewall.allowedTCPPorts = [port 9117 7878 9696 80 433]; + networking.firewall.allowedUDPPorts = [port 9117 7878 9696 80 433]; }