Skip to content

Commit 9d29271

Browse files
committed
tweak nix config file, migrate deprecated programs.git.settings options
1 parent 3d6dc15 commit 9d29271

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

modules/nixpkgs.nix

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
nix.enable = lib.mkForce true;
1414
}
1515
];
16-
environment.etc."determinate/config.json".text = ''
17-
{
18-
"authentication": {
19-
"additionalNetrcSources": [
20-
"/etc/determinate/netrc"
21-
]
22-
}
23-
}
24-
'';
16+
environment.etc."determinate/config.json".text = builtins.toJSON {
17+
authentication.additionalNetrcSources = ["/etc/determinate/netrc"];
18+
garbageCollector.strategy = "automatic";
19+
builder = {
20+
state = "enabled";
21+
memoryBytes = 8589934592;
22+
cpuCount = 1;
23+
};
24+
};
2525
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{...}: {
2-
programs.git = {
3-
userEmail = "kennan@case.edu";
4-
userName = "Kennan LeJeune";
2+
programs.git.settings = {
3+
user.email = "kennan@case.edu";
4+
user.name = "Kennan LeJeune";
55
};
66
}

0 commit comments

Comments
 (0)