Skip to content

Commit

Permalink
nixos/rust-motd: fix assertion after pam changes in #331784
Browse files Browse the repository at this point in the history
  • Loading branch information
kapsikkum authored and SuperSandro2000 committed Aug 29, 2024
1 parent fc952b8 commit 32b09f6
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 32b09f6

Please sign in to comment.