summaryrefslogtreecommitdiff
path: root/machines/dragon.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-12-26 18:36:08 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-12-26 18:36:08 -0500
commit747ba4653e24ad5c33a114b412871c86db9dd693 (patch)
tree27ff661e5f5568e3de165bf306a871431d9d7358 /machines/dragon.nix
parent3d521a6af07af8f8cd330b080d0f472abacf0bf9 (diff)
samba
Diffstat (limited to 'machines/dragon.nix')
-rw-r--r--machines/dragon.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index 13ecbbf..60c1f8b 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -41,6 +41,7 @@ in {
services.samba = {
enable = true;
+ securityType = "user";
extraConfig = ''
workgroup = WORKGROUP
server string = dragon
@@ -58,7 +59,7 @@ in {
"create mask" = "0666";
"directory mask" = "0777";
"force user" = "annie";
- "force group" = "users";
+ "force group" = "readonly";
};
public = {
path = "/storage/upload";