current
1{
2 den.default.nixos = {
3 nix.settings = {
4 experimental-features = ["auto-allocate-uids" "cgroups"];
5
6 # Select UIDs for builds automatically, EXPERIMENTAL
7 auto-allocate-uids = true;
8 # Required by auto-allocate-uids
9 use-cgroups = true;
10 # Automatically hard link identical files in the Nix store
11 auto-optimise-store = true;
12 # Remote servers preferred substituters instead of local builders
13 builders-use-substitutes = true;
14 # Unlimited HTTP connections
15 http-connections = 0;
16 # Use `$XDG_STATE_HOME/nix/...` instead of `$HOME/.nix-...`
17 use-xdg-base-directories = true;
18
19 trusted-users = ["@wheel"];
20 };
21 };
22}