summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/2configs/shack/share.nix1
-rw-r--r--lass/2configs/prism-share.nix3
-rw-r--r--makefu/2configs/filepimp-share.nix2
-rw-r--r--makefu/2configs/lanparty/samba.nix2
4 files changed, 8 insertions, 0 deletions
diff --git a/krebs/2configs/shack/share.nix b/krebs/2configs/shack/share.nix
index 3eb30964e..bc483e8d0 100644
--- a/krebs/2configs/shack/share.nix
+++ b/krebs/2configs/shack/share.nix
@@ -7,6 +7,7 @@
home = "/home/share";
createHome = true;
};
+ users.groups.share = {};
networking.firewall.allowedTCPPorts = [
139 445 # samba
diff --git a/lass/2configs/prism-share.nix b/lass/2configs/prism-share.nix
index aa3eb541d..fb803dd77 100644
--- a/lass/2configs/prism-share.nix
+++ b/lass/2configs/prism-share.nix
@@ -14,7 +14,10 @@ with import <stockholm/lib>;
description = "smb guest user";
home = "/home/share";
createHome = true;
+ group = "share";
};
+ users.groups.share = {};
+
services.samba = {
enable = true;
enableNmbd = true;
diff --git a/makefu/2configs/filepimp-share.nix b/makefu/2configs/filepimp-share.nix
index abbdcbbb2..850d432f3 100644
--- a/makefu/2configs/filepimp-share.nix
+++ b/makefu/2configs/filepimp-share.nix
@@ -9,7 +9,9 @@ in {
uid = config.ids.uids.smbguest; # effectively systemUser
description = "smb guest user";
home = "/var/empty";
+ group = "share";
};
+ users.groups.share = {};
services.samba = {
enable = true;
shares = {
diff --git a/makefu/2configs/lanparty/samba.nix b/makefu/2configs/lanparty/samba.nix
index 0bd29497d..e2fa58c4b 100644
--- a/makefu/2configs/lanparty/samba.nix
+++ b/makefu/2configs/lanparty/samba.nix
@@ -7,7 +7,9 @@
description = "smb guest user";
home = "/data/lanparty";
createHome = true;
+ group = "share";
};
+ users.groups.share = {};
services.samba = {
enable = true;
enableNmbd = true;