From 56d54972d4ef59e271e1e5c408ab348be0ef4ec6 Mon Sep 17 00:00:00 2001 From: Roman Melnikov Date: Mon, 11 Sep 2023 13:24:20 +0200 Subject: [PATCH] fixup! [#201] Deduce profile directory during activation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a6ffe10..41201b73 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ This is the core of how `deploy-rs` was designed, any number of these can run on # `/nix/var/nix/profiles/per-user/root/$PROFILE_NAME` if profile name is different. # For non-root profiles will default to /nix/var/nix/profiles/per-user/$USER/$PROFILE_NAME if `/nix/var/nix/profiles/per-user/$USER` already exists, # and `${XDG_STATE_HOME:-$HOME/.local/state}/nix/profiles/$PROFILE_NAME` otherwise. - profilePath = "/nix/var/nix/profiles/per-user/someuser/someprofile"; + profilePath = "/home/someuser/.local/state/nix/profiles/someprofile"; # ...generic options... (see lower section) }