From 83d1c5003704eb3ca201a8e79c4f3ec0dd3af3db Mon Sep 17 00:00:00 2001 From: serenity-F Date: Tue, 25 Mar 2025 13:46:19 +1000 Subject: [PATCH] tweaked `automount.nix` --- home/scripts/automount/postActivation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/scripts/automount/postActivation.nix b/home/scripts/automount/postActivation.nix index cf11efe..8b3710c 100644 --- a/home/scripts/automount/postActivation.nix +++ b/home/scripts/automount/postActivation.nix @@ -21,7 +21,7 @@ supportsDryActivation = false; ## Prints diff of the nix store and a cute message if rebuild successful text = '' - cd ~ && runas -u ${primaryUser} -- cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath}/ + cd ~ && runuser -u ${primaryUser} -- cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath}/ echo "flakePath linked successfully <3" '';