summary refs log tree commit diff stats
path: root/sys/nix/default.nix
blob: 5398c63f0577cc08a3bae83f44d86d936b71c149 (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
24
25
26
27
28
29
{...}: {
  nix = {
    channel.enable = false;
    distributedBuilds = false;
    buildMachines = [
      {
        hostName = "server1.vhack.eu";
        protocol = "ssh-ng";
        system = "x86_64-linux";
        supportedFeatures = ["big-parallel"];
      }
    ];
    gc = {
      automatic = true;
      dates = "daily";
      options = "--delete-older-than 3";
    };
    settings = {
      auto-optimise-store = true;
      experimental-features = ["nix-command" "flakes"];
      trusted-substituters = [
        "https://cache.garnix.io"
      ];
      trusted-public-keys = [
        "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
      ];
    };
  };
}