blob: 8efcd5d0791e284ab94e0b6593ea87b3b9c54419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ lib, ... }:
{
nix = {
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
};
gc = {
automatic = true;
dates = "daily";
options = "--delete-old";
};
settings.max-jobs = lib.mkDefault 1;
};
system.autoUpgrade = {
enable = true;
flake = "git+file:///etc/nixos/";
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
};
}
|