lol

nixos/akkoma: Do not warn under sudo-rs

nicoo 9aee9b16 a8e6f0a8

+1 -1
+1 -1
nixos/modules/services/web-apps/akkoma.nix
··· 909 909 }; 910 910 911 911 config = mkIf cfg.enable { 912 - warnings = optionals (!config.security.sudo.enable) ['' 912 + warnings = optionals (with config.security; (!sudo.enable) && (!sudo-rs.enable)) ['' 913 913 The pleroma_ctl wrapper enabled by the installWrapper option relies on 914 914 sudo, which appears to have been disabled through security.sudo.enable. 915 915 ''];