summaryrefslogtreecommitdiffstats
path: root/common/nix.nix
blob: f16e1d9b0d9d4497773e81fb781d5a46a8c76d50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
inputs:

{ pkgs, ... }:

{
  nix = {
    autoOptimiseStore = true;
    gc = {
      automatic = true;
      dates = "03:15";
      options = "--delete-older-than 30d";
    };

    package = pkgs.nixFlakes;
    extraOptions = ''
      experimental-features = nix-command flakes
    '';
  };
}