summary refs log tree commit diff stats
path: root/system/services/nix/default.nix
blob: 13be0f0677e4629464f0bda8788d465939af8f8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  config,
  lib,
  pkgs,
  ...
}: {
  nix = {
    #    gc = {
    #      automatic = true;
    #      dates = "daily";
    #      options = "--delete-older-than 3";
    #    };
    settings = {
      auto-optimise-store = true;
      experimental-features = ["nix-command" "flakes"];
      trusted-users = [
        "root"
        "nixremote"
        "@wheel"
      ];
    };
  };
}