tweaked automount.nix

This commit is contained in:
serenity-F 2025-03-25 13:24:16 +10:00
parent b73627746f
commit 3a31eb1068
3 changed files with 4 additions and 4 deletions

View file

@ -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";

View file

@ -28,7 +28,7 @@
## (future) Flake path
"SerenityOS" = {
source = ./SerenityOS;
source = "./SerenityOS/";
target = "${flakePath}";
recursive = true;
};

View file

@ -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"
'';