blob: 2e067aa98078960a9faf4c11e2c2d80a87f932cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ self, ... }:
{
nix = {
optimise = {
automatic = true;
dates = [ "06:00" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
# add compat scripts to the environment,
# to allow nixos-option to find the configuration
nixPath = [
"nixpkgs=${self}/compat"
"nixos-config=${self}/compat/nixos"
];
settings = {
experimental-features = [ "flakes" "nix-command" ];
trusted-users = [ "root" "mel" ];
};
};
}
|