diff options
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/files/manifest_json/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/hm/soispha/files/manifest_json/default.nix b/hm/soispha/files/manifest_json/default.nix index 09dda877..abc2e065 100644 --- a/hm/soispha/files/manifest_json/default.nix +++ b/hm/soispha/files/manifest_json/default.nix @@ -1,10 +1,13 @@ -{config, ...}: { +{ + config, + lib, + ... +}: { home = { - file = { - manifest_json = { - text = ""; - target = "${config.xdg.stateHome}/nix/profile/manifest.json"; - }; + activation = { + addManifestJson = + lib.hm.dag.entryAfter ["writeBoundary"] + ''$DRY_RUN_CMD ln -s $VERBOSE_ARG "${./profile}" "${config.xdg.stateHome}/nix/profiles/"''; }; }; } |