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

This commit is contained in:
Blake 2024-08-29 21:31:49 +10:00 committed by Sandro Jäckel
parent fc952b81bf
commit 32b09f611f
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

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