Skip to content

Commit

Permalink
tiny1: fix samba interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hyshka committed Nov 23, 2024
1 parent 1158613 commit e0f2c60
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions hosts/tiny1/services/samba.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
settings = {
global = {
"server string" = "tiny1";
# restrict access to LAN and localhost
# restrict access to LAN, localhost, and tailnet
"hosts allow" = ["10.0.0." "127." "100."];
# limit connects to tailnet, lo always required
# limit connects to LAN and tailnet, lo always required
"bind interfaces only" = "yes";
"interfaces" = ["lo" "tailscale0"];
"interfaces" = ["lo" "enp0s31f6" "tailscale0"];
# limit log size to 50kb
"max log size" = 50;
# disable printer support
Expand All @@ -21,10 +21,12 @@
"qbittorrent"
"sonarr"
"radarr"
"readarr"
"jellyfin"
"recyclarr"
"jellyseer"
"prowlarr"
"sabnzbd"
"ntfy-sh"
];
};
Expand All @@ -42,6 +44,8 @@
"guest ok" = "no";
comment = "Primary Storage";
};
# TODO: timemachine share
# https://blog.jhnr.ch/2023/01/09/setup-apple-time-machine-network-drive-with-samba-on-ubuntu-22.04/
};
};
}

0 comments on commit e0f2c60

Please sign in to comment.