diff --git a/modules/homelab/motd/default.nix b/modules/homelab/motd/default.nix index e543396..810aed0 100644 --- a/modules/homelab/motd/default.nix +++ b/modules/homelab/motd/default.nix @@ -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 + #''; }; }