Whoops, put SYS_ADMIN on wrong container
This commit is contained in:
parent
82eb30e83d
commit
d6dfd183cb
|
@ -323,6 +323,7 @@ in {
|
||||||
# Needs external access for blacklist checks
|
# Needs external access for blacklist checks
|
||||||
"external_network"
|
"external_network"
|
||||||
];
|
];
|
||||||
|
capabilities.SYS_ADMIN = true;
|
||||||
};
|
};
|
||||||
nixos = {
|
nixos = {
|
||||||
useSystemd = true;
|
useSystemd = true;
|
||||||
|
@ -354,7 +355,6 @@ in {
|
||||||
];
|
];
|
||||||
user = mkUserMap "mailserver-antivirus";
|
user = mkUserMap "mailserver-antivirus";
|
||||||
volumes = [ "${cfg.state-directory}/antivirus:/state" ];
|
volumes = [ "${cfg.state-directory}/antivirus:/state" ];
|
||||||
capabilities.SYS_ADMIN = true;
|
|
||||||
};
|
};
|
||||||
nixos = {
|
nixos = {
|
||||||
useSystemd = true;
|
useSystemd = true;
|
||||||
|
|
Loading…
Reference in New Issue