diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-01-10 20:43:47 -0500 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-01-10 20:43:47 -0500 |
| commit | 732b00f25e39d9f10a8e11131be040359650b1ce (patch) | |
| tree | 2a739299b9e3852ae7aca86455b160a1d36cf347 /hosts/shar/configuration.nix | |
| parent | 0ed97ecc9de66f07b6f9469864e564f3fb975f6a (diff) | |
shar tailscale + nfs
Diffstat (limited to 'hosts/shar/configuration.nix')
| -rw-r--r-- | hosts/shar/configuration.nix | 15 |
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 = [ ... ]; |
