summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2023-11-11 18:10:25 +0100
committerGitHub <noreply@github.com>2023-11-11 18:10:25 +0100
commite9a5bf8ae4997583f30e8506bcf85539e34964a6 (patch)
tree0407a6d8ee776a2ce9d6487c3de81ee7516ca7b5 /nixos/modules
parent9c61d268a7befc9d235ea8a5810030c138720ac1 (diff)
parent9aee9b163eae96d44134c1851cc0bdf021bfb477 (diff)
Merge pull request #265712 from nbraud/nixos/sudo-rs/akkoma
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/web-apps/akkoma.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/akkoma.nix b/nixos/modules/services/web-apps/akkoma.nix
index 5f9bbbd66374..8a8ed49115fd 100644
--- a/nixos/modules/services/web-apps/akkoma.nix
+++ b/nixos/modules/services/web-apps/akkoma.nix
@@ -909,7 +909,7 @@ in {
};
config = mkIf cfg.enable {
- warnings = optionals (!config.security.sudo.enable) [''
+ warnings = optionals (with config.security; (!sudo.enable) && (!sudo-rs.enable)) [''
The pleroma_ctl wrapper enabled by the installWrapper option relies on
sudo, which appears to have been disabled through security.sudo.enable.
''];