tangled
alpha
login
or
join now
encode42.dev
/
nixos
0
fork
atom
Personal-use NixOS configuration
0
fork
atom
overview
issues
pulls
pipelines
Start using nh
encode42.dev
2 months ago
36a27952
26b2068e
+16
-9
1 changed file
expand all
collapse all
unified
split
modules
common
nix.nix
+16
-9
modules/common/nix.nix
···
1
1
+
{ flakeRoot, ... }:
2
2
+
1
3
{
2
4
nix = {
3
5
channel.enable = false;
4
4
-
5
5
-
gc = {
6
6
-
automatic = true;
7
7
-
dates = "weekly";
8
8
-
9
9
-
persistent = true;
10
10
-
11
11
-
options = "--delete-older-than 7d";
12
12
-
};
13
6
14
7
optimise = {
15
8
automatic = true;
···
27
20
};
28
21
29
22
documentation.man.enable = false;
23
23
+
24
24
+
programs.nh = {
25
25
+
enable = true;
26
26
+
27
27
+
flake = toString flakeRoot;
28
28
+
29
29
+
clean = {
30
30
+
enable = true;
31
31
+
32
32
+
dates = "weekly";
33
33
+
34
34
+
extraArgs = "--delete-older-than 7d";
35
35
+
};
36
36
+
};
30
37
}