summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/nix/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix
index 5465e61..ed94511 100644
--- a/modules/nix/default.nix
+++ b/modules/nix/default.nix
@@ -1,4 +1,4 @@
-{ config, ... }:
+{ config, lib, ... }:
{
imports = [ ./nh.nix ];
@@ -22,8 +22,11 @@
sandbox-fallback = false;
extra-sandbox-paths = [ config.programs.ccache.cacheDir ];
keep-going = true;
- accept-flake-config = false;
stalled-download-timeout = 20;
+ auto-allocate-uids = true;
+ use-cgroups = true;
+ builders-use-substitutes = true;
+ nix-path = lib.mkForce "nixpkgs=flake:nixpkgs";
system-features = [
"nixos-test"