tweaked automount.nix

This commit is contained in:
serenity-F 2025-03-25 13:43:15 +10:00
parent 5458c1b405
commit e617fb21d4
2 changed files with 2 additions and 1 deletions

View file

@ -21,7 +21,7 @@
supportsDryActivation = false;
## Prints diff of the nix store and a cute message if rebuild successful
text = ''
cd ~ && cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath}/
cd ~ && runas -u ${primaryUser} -- cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath}/
echo "flakePath linked successfully <3"
'';