samba: fix mounting permission
This commit is contained in:
parent
6b0f2316fa
commit
9925102b5f
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.profile.services.samba;
|
cfg = config.profile.services.samba;
|
||||||
# user = config.profile.user;
|
user = config.profile.user;
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -15,6 +15,7 @@ in
|
||||||
server string = smbnix
|
server string = smbnix
|
||||||
netbios name = smbnix
|
netbios name = smbnix
|
||||||
security = user
|
security = user
|
||||||
|
guest account = ${user.name}
|
||||||
'';
|
'';
|
||||||
shares = {
|
shares = {
|
||||||
nas = {
|
nas = {
|
||||||
|
|
Loading…
Reference in a new issue