Compare commits

...

2 Commits

Author SHA1 Message Date
ac3712aec5 Correct path to test legacy presence 2026-05-14 15:20:23 +02:00
a453390013 Clarify "migrated" .zshrc 2026-05-14 15:19:41 +02:00

View File

@@ -14,7 +14,7 @@
yubikey-manager
];
home.activation.stowLegacy = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
if [ -d "$HOME/dotfiles" ]; then
if [ -d "$HOME/dotfiles/legacy" ]; then
run ${pkgs.stow}/bin/stow -d $HOME/dotfiles -t $HOME legacy
fi
'';
@@ -29,9 +29,9 @@
fi
if [ -r ~/dotfiles/migrated/.zshrc ]; then
# Hack for faster iterations
. ~/dotfiles/migrated/.zshrc
else
# If no custom override is available, use the one bundled with flake.
. ${../../migrated/.zshrc}
fi
'';