From 1a84222adb1d3791579a8f8fc98ca2b5d6c3644c Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Tue, 7 Mar 2023 19:20:54 -0500 Subject: [PATCH] added flake input gcroots --- modules/nix.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/nix.nix b/modules/nix.nix index 64fe8a6..06d5b83 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -42,5 +42,6 @@ inputs: { ]; }; }; - environment.etc."booted-system".source = self; + #make gcroots for each flake input + systemd.tmpfiles.rules = lib.attrsets.mapAttrsToList (name: value: "L+ /nix/var/nix/gcroots/${name} - - - - ${value}") inputs; }