blob: c35d3b3a88ffcd6cd3e2d7b055048ee6d8d24274 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
nix = {
gc.automatic = false; # use nh cleaner instead
# Make builds run with low priority so my system stays responsive
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
settings = {
extra-experimental-features = ["nix-command" "flakes" "pipe-operators"];
auto-optimise-store = true;
use-xdg-base-directories = true;
};
};
# Disable channels
nix.channel.enable = false;
programs.command-not-found.enable = false; # breaks unless you use channels
nixpkgs = {
config.allowUnfree = true;
};
}
|