diff options
| author | Fuwn <[email protected]> | 2024-09-17 00:50:58 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-17 00:50:58 -0700 |
| commit | 7f3d2df5e8697cdcd044749d2420edd3b37788fe (patch) | |
| tree | 8b9ff561e6a3e4a79c5c9e2cc2621a669244b25d | |
| parent | nix: nix-shell support (diff) | |
| download | nixos-config-7f3d2df5e8697cdcd044749d2420edd3b37788fe.tar.xz nixos-config-7f3d2df5e8697cdcd044749d2420edd3b37788fe.zip | |
nix: settings
| -rw-r--r-- | modules/nix/default.nix | 7 |
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" |