Files
nixos/modules-all/automatic/nix.nix
T

35 lines
654 B
Nix
Raw Normal View History

2022-04-21 04:49:44 +00:00
{ pkgs, ... }:
{
# Enable flakes
nix = {
package = pkgs.nixFlakes;
2023-01-22 00:00:51 -06:00
buildMachines = [
{
hostName = "dns.me.ts";
system = "aarch64-linux";
}
{
hostName = "jude.me.ts";
system = "x86_64-linux";
}
];
2022-04-21 04:49:44 +00:00
2022-09-23 02:36:13 +00:00
settings = {
2022-09-23 11:17:03 -05:00
experimental-features = "nix-command flakes";
keep-outputs = true;
keep-derivations = true;
min-free = (toString (1024 * 1024 * 1024) );
max-free = (toString (5 * 1024 * 1024 * 1024) );
2022-09-23 02:36:13 +00:00
substituters = [
"https://cache.garnix.io"
];
trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
};
2022-04-21 04:49:44 +00:00
};
nixpkgs.config.allowUnfree = true;
}