summaryrefslogtreecommitdiff
path: root/config/nix.nix
blob: 069a101a1e29dee1743c77c14201f01560058266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ pkgs, lib, ... }:

{
  personal.nix = {
    enable = true;
    autoUpgrade = true;
    gc.enable = true;
    flake = "git+file:///etc/nixos/";
  };
  nix.settings.max-jobs = lib.mkDefault 1;

  system.autoUpgrade.flags =
    pkgs.personal.lib.updateInputFlag "nixpkgs-unstable";
}