Merge branch 'main' of github.com:8bitbuddhist/nix-configuration
This commit is contained in:
commit
af7bd3618a
|
@ -37,6 +37,12 @@
|
||||||
# Build remotely
|
# Build remotely
|
||||||
nix.distributedBuilds = true;
|
nix.distributedBuilds = true;
|
||||||
|
|
||||||
|
# Enable thermal control
|
||||||
|
services.thermald.enable = true;
|
||||||
|
|
||||||
|
# Limit the number of cores Nix can use so at least one is always free
|
||||||
|
nix.settings.cores = 11;
|
||||||
|
|
||||||
# Configure the virtual machine created by nixos-rebuild build-vm
|
# Configure the virtual machine created by nixos-rebuild build-vm
|
||||||
virtualisation.vmVariant.virtualisation = {
|
virtualisation.vmVariant.virtualisation = {
|
||||||
memorySize = 2048;
|
memorySize = 2048;
|
||||||
|
|
Loading…
Reference in a new issue