This commit is contained in:
xenia 2024-12-21 15:58:13 -05:00
parent 641c0cc2a3
commit 53cd3de729
1 changed files with 7 additions and 4 deletions

View File

@ -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)