mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nixos/sudo: Update assertion message
This commit is contained in:
parent
6ed37e8e04
commit
d5a8e667d2
@ -192,10 +192,12 @@ in
|
||||
###### implementation
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
assertions = [
|
||||
{ assertion = cfg.package.pname != "sudo-rs";
|
||||
message = "The NixOS `sudo` module does not work with `sudo-rs` yet."; }
|
||||
];
|
||||
assertions = [ {
|
||||
assertion = cfg.package.pname != "sudo-rs";
|
||||
message = ''
|
||||
NixOS' `sudo` module does not support `sudo-rs`; see `security.sudo-rs` instead.
|
||||
'';
|
||||
} ];
|
||||
|
||||
security.sudo.extraRules =
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user