diff --git a/home/scripts/automount/default.nix b/home/scripts/automount/default.nix index 06a291a..3ac3de8 100755 --- a/home/scripts/automount/default.nix +++ b/home/scripts/automount/default.nix @@ -27,11 +27,11 @@ #}; ## (future) Flake path - "SerenityOS" = { - source = ./SerenityOS; - target = "${flakePath}"; - #recursive = true; - }; + #"SerenityOS" = { + #source = ./SerenityOS; + #target = "${flakePath}"; + #recursive = true; + #}; }; diff --git a/home/scripts/automount/postActivation.nix b/home/scripts/automount/postActivation.nix index 8b3710c..f519b70 100644 --- a/home/scripts/automount/postActivation.nix +++ b/home/scripts/automount/postActivation.nix @@ -11,19 +11,14 @@ supportsDryActivation = false; ## Prints diff of the nix store and a cute message if rebuild successful text = '' - cd ~ && ln -s /run/media/${primaryUser}/ Disks - - echo "disksPaths linked successfully <3" - ''; - }; - - system.activationScripts.flakeLink = { - supportsDryActivation = false; - ## Prints diff of the nix store and a cute message if rebuild successful - text = '' - cd ~ && runuser -u ${primaryUser} -- cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath}/ - - echo "flakePath linked successfully <3" + { + cd ~ && ln -s /run/media/${primaryUser}/ Disks && + echo "disksPaths linked successfully <3" + } || { + echo "diskPaths linking failed