netns-isolation: simplify permission definition for netns-exec
The new definition is equivalent to the old one.
This commit is contained in:
parent
a587a2b02a
commit
0b5b29a2a3
@ -105,7 +105,7 @@ in {
|
|||||||
source = config.nix-bitcoin.pkgs.netns-exec;
|
source = config.nix-bitcoin.pkgs.netns-exec;
|
||||||
capabilities = "cap_sys_admin=ep";
|
capabilities = "cap_sys_admin=ep";
|
||||||
owner = cfg.allowedUser;
|
owner = cfg.allowedUser;
|
||||||
permissions = "u+rx,g+rx,o-rwx";
|
permissions = "550";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
|
Loading…
Reference in New Issue
Block a user