diff options
author | Soispha <soispha@vhack.eu> | 2024-01-13 22:32:37 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-13 22:32:37 +0100 |
commit | 7fba735e59b258d988bb8574ea499d2a874d8014 (patch) | |
tree | 47a2eaf5dffac4cd5441d2e488b8d8c09f3f06c2 /hm | |
parent | fix(treewide): Comply with the shell library's new argument names (diff) | |
download | nixos-config-7fba735e59b258d988bb8574ea499d2a874d8014.tar.gz nixos-config-7fba735e59b258d988bb8574ea499d2a874d8014.zip |
fix(hm/files): Generate manifest.json to help home-manager
Without this file present, home-manager will try to run a impure `nix-env` command which obviously fails.
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/files/default.nix | 3 | ||||
-rw-r--r-- | hm/soispha/files/manifest_json/default.nix | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/hm/soispha/files/default.nix b/hm/soispha/files/default.nix index 4e16077c..16fe9afe 100644 --- a/hm/soispha/files/default.nix +++ b/hm/soispha/files/default.nix @@ -1,5 +1,6 @@ -{config, ...}: { +{...}: { imports = [ ./wallpaper + ./manifest_json ]; } diff --git a/hm/soispha/files/manifest_json/default.nix b/hm/soispha/files/manifest_json/default.nix new file mode 100644 index 00000000..09dda877 --- /dev/null +++ b/hm/soispha/files/manifest_json/default.nix @@ -0,0 +1,10 @@ +{config, ...}: { + home = { + file = { + manifest_json = { + text = ""; + target = "${config.xdg.stateHome}/nix/profile/manifest.json"; + }; + }; + }; +} |