From 0d810dfab9f6e12e9af9b4ba86e5c38ae1a51ca5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 9 Aug 2017 17:45:31 +0200 Subject: Samba on bragi --- bragi.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bragi.nix b/bragi.nix index c3c4af99..e6700d65 100644 --- a/bragi.nix +++ b/bragi.nix @@ -209,7 +209,9 @@ in rec { 80 # HTTP 5432 # PostgreSQL 6600 # MPD + 139 445 # SAMBA ]; + allowedUDPPorts = [ 137 138 ]; # SAMBA allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh ]; extraCommands = '' @@ -258,6 +260,10 @@ in rec { ''; }; + services.samba = { + enable = true; + }; + users.extraUsers.root = let template = (import users/gkleen.nix); in { -- cgit v1.2.3