summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index c3c4af99..e6700d65 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -209,7 +209,9 @@ in rec {
209 80 # HTTP 209 80 # HTTP
210 5432 # PostgreSQL 210 5432 # PostgreSQL
211 6600 # MPD 211 6600 # MPD
212 139 445 # SAMBA
212 ]; 213 ];
214 allowedUDPPorts = [ 137 138 ]; # SAMBA
213 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh 215 allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh
214 ]; 216 ];
215 extraCommands = '' 217 extraCommands = ''
@@ -258,6 +260,10 @@ in rec {
258 ''; 260 '';
259 }; 261 };
260 262
263 services.samba = {
264 enable = true;
265 };
266
261 users.extraUsers.root = let 267 users.extraUsers.root = let
262 template = (import users/gkleen.nix); 268 template = (import users/gkleen.nix);
263 in { 269 in {