Skip to content

Commit

Permalink
nixos/rust-motd: fix assertion after pam changes in #331784 (#338162)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Aug 29, 2024
2 parents 314ab2d + 32b09f6 commit 5babc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/programs/rust-motd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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`!
'';
Expand Down

0 comments on commit 5babc04

Please sign in to comment.