base: move some shared configuration to shared

This commit is contained in:
Charlotte Van Petegem 2024-07-18 16:57:22 +02:00
parent 6fe9af56e7
commit fe306085f4
11 changed files with 273 additions and 227 deletions

View file

@ -0,0 +1,9 @@
{ config, ... }:
{
nix = {
configureBuildUsers = true;
gc.interval = if config.chvp.base.nix.slowGc then { Hour = 0; Minute = 0; } else { Minute = 0; };
};
services.nix-daemon.enable = true;
}