From 7fba735e59b258d988bb8574ea499d2a874d8014 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 13 Jan 2024 22:32:37 +0100 Subject: 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. --- hm/soispha/files/manifest_json/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hm/soispha/files/manifest_json/default.nix (limited to 'hm/soispha/files/manifest_json/default.nix') 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"; + }; + }; + }; +} -- cgit 1.4.1