diff --git a/core/modules/packages.nix b/core/modules/packages.nix index 3a74ae3..e4afa8e 100755 --- a/core/modules/packages.nix +++ b/core/modules/packages.nix @@ -98,6 +98,7 @@ bc # Calculator nvd # For nixos-rebuild summary zip # What it says on the tin + doas # alternative to sudo btop # System metrics and process viewer tldr # Simpler manual pages wget # Retrieves files over HTTP, HTTPS, and FTP diff --git a/home/scripts/automount/postActivation.nix b/home/scripts/automount/postActivation.nix index 8fc0184..cf11efe 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 ~ && cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath}/ + cd ~ && runas -u ${primaryUser} -- cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath}/ echo "flakePath linked successfully <3" '';