summaryrefslogtreecommitdiff
path: root/modules/basic-tools/nix.nix
blob: a67c6a89dc9d96c8388ba72dc954c03175ee3a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  pkgs,
  ...
}:
{

  nix = {
    extraOptions = ''
      experimental-features = nix-command flakes
      narinfo-cache-negative-ttl = 0
    '';
  };

  # nix output-monitor
  environment.systemPackages = [ pkgs.nix-output-monitor ];

  nixpkgs.flake = {
    setFlakeRegistry = true;
    setNixPath = true;
  };

  nixpkgs.config.allowUnfree = true;
}