From 32b09f611faf573946bd69c0b286b1fc82e04958 Mon Sep 17 00:00:00 2001 From: Blake Date: Thu, 29 Aug 2024 21:31:49 +1000 Subject: [PATCH] nixos/rust-motd: fix assertion after pam changes in #331784 --- nixos/modules/programs/rust-motd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/rust-motd.nix b/nixos/modules/programs/rust-motd.nix index 301b7cebb7f8a..19f98868ee344 100644 --- a/nixos/modules/programs/rust-motd.nix +++ b/nixos/modules/programs/rust-motd.nix @@ -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`! '';