Fix screen auto-start via SSH
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
initContent = ''
|
||||
. ~/dotfiles/migrated/.zshrc
|
||||
|
||||
# Outside NixOS, we need to load this manually. Same on MacOS, if
|
||||
# /etc/zshrc is reset to its default content (post-upgrade).
|
||||
if [ -r /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ]; then
|
||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||
fi
|
||||
|
||||
. ~/dotfiles/migrated/.zshrc
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user