diff options
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/files/manifest_json/default.nix | 15 | ||||
-rw-r--r-- | hm/soispha/files/manifest_json/profile/manifest.json | 4 |
2 files changed, 13 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/"''; }; }; } diff --git a/hm/soispha/files/manifest_json/profile/manifest.json b/hm/soispha/files/manifest_json/profile/manifest.json new file mode 100644 index 00000000..bd74d935 --- /dev/null +++ b/hm/soispha/files/manifest_json/profile/manifest.json @@ -0,0 +1,4 @@ +{ + "elements": [], + "version": 2 +} |