From 3a31eb10682004cc35c8ad41d48635ad299b9bb0 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Tue, 25 Mar 2025 13:24:16 +1000 Subject: [PATCH] tweaked `automount.nix` --- flake.nix | 4 ++-- home/scripts/automount/default.nix | 2 +- home/scripts/automount/postActivation.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 7327da5..3220ae7 100755 --- a/flake.nix +++ b/flake.nix @@ -132,8 +132,8 @@ userDesc = "Serenity Amalgam"; homeDir = "/home/${primaryUser}"; # for easy configuration disksPath = "${homeDir}/"; # for easy disk navigation - flakePath = "${homeDir}/flakes/nixdots/"; # current path to flake - unused - #flakePath = "${homeDir}/SerenityOS/"; # for v1.0.0 release + #flakePath = "${homeDir}/flakes/nixdots/"; # current path to flake - unused + flakePath = "${homeDir}/SerenityOS/"; # for v1.0.0 release wallpapersPath = "${homeDir}/Pictures/Wallpapers"; wallpaper = "${wallpapersPath}/almondBlossoms-VanGogh.jpg"; diff --git a/home/scripts/automount/default.nix b/home/scripts/automount/default.nix index 2a02a69..8fc6695 100755 --- a/home/scripts/automount/default.nix +++ b/home/scripts/automount/default.nix @@ -28,7 +28,7 @@ ## (future) Flake path "SerenityOS" = { - source = ./SerenityOS; + source = "./SerenityOS/"; target = "${flakePath}"; recursive = true; }; diff --git a/home/scripts/automount/postActivation.nix b/home/scripts/automount/postActivation.nix index b30b76a..fa9dd97 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/* SerenityOS/ + cd ~ && cp -r /home/${primaryUser}/flakes/nixdots/* ${flakePath} echo "flakePath linked successfully <3" '';