fix: modified samba to be created with 750 perms
Some checks failed
ci / treefmt (push) Failing after 4s
Some checks failed
ci / treefmt (push) Failing after 4s
This commit is contained in:
parent
70f130ee0b
commit
7a8725e90e
1 changed files with 8 additions and 1 deletions
|
|
@ -75,7 +75,14 @@ in {
|
|||
};
|
||||
|
||||
${namespace}.services.storage.impermanence.folders = mkMerge [
|
||||
[ (mkPersistRootDir config "/var/lib/samba") ]
|
||||
[
|
||||
{
|
||||
directory = "/var/lib/samba";
|
||||
user = "root";
|
||||
group = "root";
|
||||
mode = "750";
|
||||
}
|
||||
]
|
||||
(mkIf (cfg.shares != []) (cfg.shares |> map (s: mkPersistRootDir config "/mnt/samba/${s}")))
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue