diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-11-11 18:10:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-11 18:10:25 +0100 |
commit | e9a5bf8ae4997583f30e8506bcf85539e34964a6 (patch) | |
tree | 0407a6d8ee776a2ce9d6487c3de81ee7516ca7b5 | |
parent | 9c61d268a7befc9d235ea8a5810030c138720ac1 (diff) | |
parent | 9aee9b163eae96d44134c1851cc0bdf021bfb477 (diff) |
Merge pull request #265712 from nbraud/nixos/sudo-rs/akkoma
-rw-r--r-- | nixos/modules/services/web-apps/akkoma.nix | 2 |
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 5f9bbbd663744..8a8ed49115fdd 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. '']; |