nixos/rust-motd: fix assertion after pam changes in #331784
This commit is contained in:
parent
fc952b81bf
commit
32b09f611f
@ -88,7 +88,7 @@ in {
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{ assertion = config.users.motd == null;
|
||||
{ assertion = config.users.motd == "";
|
||||
message = ''
|
||||
`programs.rust-motd` is incompatible with `users.motd`!
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user