netns-isolation: add compatibility with 21.11

`security.wrappers` now requires `group` be defined.
This commit is contained in:
Erik Arvstedt 2021-12-09 21:04:13 +01:00 committed by nixbitcoin
parent 8f641756ce
commit 71e9864060
No known key found for this signature in database
GPG Key ID: B6044ECBA2DAE5D0

View File

@ -122,6 +122,7 @@ in {
source = config.nix-bitcoin.pkgs.netns-exec;
capabilities = "cap_sys_admin=ep";
owner = cfg.allowedUser;
group = ""; # Set to the group of `owner`
permissions = "550";
};