fix motd run on login instead of print

This commit is contained in:
2025-10-15 08:42:39 -05:00
parent d2cbb8dc81
commit 9934e12985

View File

@@ -90,8 +90,16 @@ in {
environment.etc."motd".mode = "0755";
programs.bash.interactiveShellInit = ''
programs.zsh.interactiveShellInit = ''
/etc/motd
'';
#environment.loginShellInit = ''
# if [ -x /etc/motd ]; then
# /etc/motd
# else
# cat /etc/motd
# fi
#'';
};
}