about summary refs log tree commit diff
path: root/modules/systems/nix.nix
blob: b1e422f204f548d2ff8e8005fb3c142621dbf1c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ lib, pkgs, ... }:

{
  nix.extraOptions = ''
    experimental-features = nix-command
  '';

  nix.autoOptimiseStore = true;
  nix.trustedUsers = [ "root" "@wheel" ];

  nix.gc = {
    automatic = true;
    options = "--delete-older-than 14d";
  };
}