summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/akkoma.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-11-11 18:00:58 +0000
committerGitHub <noreply@github.com>2023-11-11 18:00:58 +0000
commit9776723357705dedeb933221c8f9b295d44813d7 (patch)
tree15d5753e5cb6835221543be566b71f0a05dd9860 /nixos/modules/services/web-apps/akkoma.nix
parent940180423aaad6f43db3510e9418ced525613d51 (diff)
parenta4e452c906b13806fcea511ab58792d7748203b0 (diff)
downloadnixpkgs-9776723357705dedeb933221c8f9b295d44813d7.tar
nixpkgs-9776723357705dedeb933221c8f9b295d44813d7.tar.gz
nixpkgs-9776723357705dedeb933221c8f9b295d44813d7.tar.bz2
nixpkgs-9776723357705dedeb933221c8f9b295d44813d7.tar.lz
nixpkgs-9776723357705dedeb933221c8f9b295d44813d7.tar.xz
nixpkgs-9776723357705dedeb933221c8f9b295d44813d7.tar.zst
nixpkgs-9776723357705dedeb933221c8f9b295d44813d7.zip
Merge master into staging-next
Diffstat (limited to 'nixos/modules/services/web-apps/akkoma.nix')
-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 5f9bbbd6637..8a8ed49115f 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.
     ''];