summaryrefslogtreecommitdiff
path: root/modules/base/nix.nix
blob: 1b4703c7fb36e21bfd1c046f8871e10872daec1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  inputs,
  lib,
  pkgs,
  ...
}:
{
  nix = {
    optimise.automatic = true;
    registry.nixpkgs.flake = inputs.nixpkgs;
    package = lib.mkForce pkgs.nixVersions.git;
    nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
    channel.enable = false;
  };
}