summaryrefslogtreecommitdiff
path: root/config/nix.nix
blob: c56eef6d21f70f6571cde8a817763496a4abfda6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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 = [
    # for reading secrets from a file
    "--impure"
  ];

  personal.monitoring.enable = true;
}