summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorscouckel <james.krinsky@gmail.com>2026-01-10 20:43:47 -0500
committerscouckel <james.krinsky@gmail.com>2026-01-10 20:43:47 -0500
commit732b00f25e39d9f10a8e11131be040359650b1ce (patch)
tree2a739299b9e3852ae7aca86455b160a1d36cf347 /hosts
parent0ed97ecc9de66f07b6f9469864e564f3fb975f6a (diff)
shar tailscale + nfs
Diffstat (limited to 'hosts')
-rw-r--r--hosts/shar/configuration.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/shar/configuration.nix b/hosts/shar/configuration.nix
index be3e5db..ddee21e 100644
--- a/hosts/shar/configuration.nix
+++ b/hosts/shar/configuration.nix
@@ -131,6 +131,21 @@
programs.fish.enable = true;
+ services.tailscale = {
+ enable = true;
+ useRoutingFeatures = "server";
+ };
+
+ services.nfs.server = {
+ enable = true;
+
+ exports = ''
+ /tank/media 100.64.0.0/10(ro,async,no_subtree_check)
+ /tank/data 100.64.0.0/10(rw,async,no_subtree_check)
+ /tank/backups 100.64.0.0/10(rw,async,no_subtree_check)
+ '';
+ };
+
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];