fix: printer samba access rules

This commit is contained in:
Patrick 2024-03-12 15:15:37 +01:00
parent dacc8ad9e0
commit cb72a7a224
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -172,9 +172,7 @@
name = "printer";
user = "printer";
group = "printer";
} {
"write list" = "@family";
})
} {})
(mkShare {
name = "family-data";
user = "family";
@ -218,7 +216,12 @@
${group} = {
};
}))
++ [{family.members = ["patrick" "david" "helen" "ggr"];}]);
++ [
{
family.members = ["patrick" "david" "helen" "ggr"];
printer.members = ["patrick" "david" "helen" "ggr"];
}
]);
};
fileSystems = lib.mkMerge (lib.flip lib.mapAttrsToList config.services.samba.shares (_: v: