From 53cd3de729a6fdf21bf3ce466657b0c53534cefa Mon Sep 17 00:00:00 2001 From: xenia Date: Sat, 21 Dec 2024 15:58:13 -0500 Subject: [PATCH] oops 3 --- flake.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index e50eeda..558b79f 100644 --- a/flake.nix +++ b/flake.nix @@ -154,14 +154,17 @@ ); config.environment.etc."nix/extra-builtins.nix".source = - lib.mkIf config.dragnpkgs.possiblyCommitCrimes - '' + lib.mkIf config.dragnpkgs.possiblyCommitCrimes ( + let + possiblyCommitCrimes = + lib.boolToString config.dragnpkgs.possiblyCommitCrimes; + in '' { ... }: { dragnpkgs = { - possiblyCommitCrimes = ${config.dragnpkgs.possiblyCommitCrimes}; + possiblyCommitCrimes = ${possiblyCommitCrimes}; }; } - ''; + ''); }) (import ./module.nix)