fix: printer samba access rules
This commit is contained in:
parent
dacc8ad9e0
commit
cb72a7a224
|
@ -169,12 +169,10 @@
|
||||||
hasPaperless = true;
|
hasPaperless = true;
|
||||||
} {})
|
} {})
|
||||||
(mkShare {
|
(mkShare {
|
||||||
name = "printer";
|
name = "printer";
|
||||||
user = "printer";
|
user = "printer";
|
||||||
group = "printer";
|
group = "printer";
|
||||||
} {
|
} {})
|
||||||
"write list" = "@family";
|
|
||||||
})
|
|
||||||
(mkShare {
|
(mkShare {
|
||||||
name = "family-data";
|
name = "family-data";
|
||||||
user = "family";
|
user = "family";
|
||||||
|
@ -218,7 +216,12 @@
|
||||||
${group} = {
|
${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:
|
fileSystems = lib.mkMerge (lib.flip lib.mapAttrsToList config.services.samba.shares (_: v:
|
||||||
|
|
Loading…
Reference in a new issue