summaryrefslogtreecommitdiff
path: root/profiles/base/default.nix
blob: dbaabe817adae4e1a5ade940b5961244db3ed9a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{pkgs, ...}: {
  imports = [
    ./documentation.nix
    ./packages.nix
  ];

  nix = {
    package = pkgs.nixFlakes;
    gc = {
      automatic = true;
      dates = "weekly";
      options = "--delete-older-than 7d";
    };
    settings = {
      auto-optimise-store = true;
      warn-dirty = false;
      experimental-features = ["nix-command" "flakes"];
    };
  };
}