Commit 9aee9b16 authored by nicoo's avatar nicoo
Browse files

nixos/akkoma: Do not warn under sudo-rs

parent a8e6f0a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
    ''];