modules/nix-config: use cgroups

This commit is contained in:
Max Headroom 2023-08-26 22:50:19 +02:00
parent 486161b78e
commit 5f3f73f20b

View file

@ -1,4 +1,4 @@
{ pkgs, lib, config, depot, tools, ... }: { depot, tools, ... }:
{ {
nix = { nix = {
@ -11,7 +11,8 @@
}; };
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes cgroups
use-cgroups = true
builders-use-substitutes = true builders-use-substitutes = true
flake-registry = https://git.${tools.meta.domain}/private-void/registry/-/raw/master/registry.json flake-registry = https://git.${tools.meta.domain}/private-void/registry/-/raw/master/registry.json