mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
fix: samba don't use force group
This commit is contained in:
parent
57de089baf
commit
76c80dd31d
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, lib, ... }: {
|
||||||
|
|
||||||
options = { samba.enable = lib.mkEnableOption "Enable Samba sharing."; };
|
options = { samba.enable = lib.mkEnableOption "Enable Samba sharing."; };
|
||||||
|
|
||||||
@ -12,8 +12,6 @@
|
|||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
"guest ok" = "no";
|
"guest ok" = "no";
|
||||||
"force user" = config.user;
|
|
||||||
"force group" = config.user;
|
|
||||||
comment = "NAS";
|
comment = "NAS";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user