aboutsummaryrefslogblamecommitdiff
path: root/modules/systems/nix.nix
blob: b1e422f204f548d2ff8e8005fb3c142621dbf1c7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                       


                                         




                                        
{ lib, pkgs, ... }:

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

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

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