Merge pull request #265712 from nbraud/nixos/sudo-rs/akkoma

This commit is contained in:
Maciej Krüger
2023-11-11 18:10:25 +01:00
committed by GitHub

View File

@@ -909,7 +909,7 @@ in {
}; };
config = mkIf cfg.enable { 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 The pleroma_ctl wrapper enabled by the installWrapper option relies on
sudo, which appears to have been disabled through security.sudo.enable. sudo, which appears to have been disabled through security.sudo.enable.
'']; ''];