nixos/rust-motd: fix assertion after pam changes in #331784 (#338162)

This commit is contained in:
Sandro 2024-08-29 15:46:48 +02:00 committed by GitHub
commit 5babc04681
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`!
'';