diff --git a/home/scripts/automount/postActivation.nix b/home/scripts/automount/postActivation.nix index 8eb6c0d..de09d33 100644 --- a/home/scripts/automount/postActivation.nix +++ b/home/scripts/automount/postActivation.nix @@ -4,21 +4,13 @@ imports = [ ]; - ## Activation Scripts - ## - these run after using `sudo nixos-rebuild switch --flake .#` - ## - assumes command is run from the flake directory + ## Runs after using `sudo nixos-rebuild switch --flake .#` system.activationScripts.disksLink = { supportsDryActivation = false; - ## Prints diff of the nix store and a cute message if rebuild successful + ## Prints status of run commmand with a cute message if successful text = '' - { - cd ~ && ln -s Disks /run/media/${primaryUser}/* - echo "disksPaths linked successfully <3" - } || { - echo "diskPaths linking failed