blob: 8d79398b0a0859b7dcccceb03635d76f01c1a349 (
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
|
{pkgs, ...}: {
# fucking linux vulnerability
services.printing.enable = false;
# enable flakes
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = {
keep-outputs = true;
keep-derivations = true;
trusted-users = ["root" "y"];
};
};
#direnv
# programs.direnv.enable = true;
}
|