setup server

This commit is contained in:
2024-06-15 02:00:49 -06:00
parent b66baa6c19
commit 8411094c67
13 changed files with 58 additions and 2626 deletions

View File

@@ -42,10 +42,24 @@
value = "8192";
}];
};
nix = {
nixpkgs.config.allowUnfree = true;
nix = let
featuresList = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
"gccarch-znver3"
"gccarch-skylake"
"gccarch-alderlake"
];
in {
distributedBuilds = true;
optimise.automatic = true;
settings = {
auto-optimise-store = true;
trusted-users = [ "nixremote" ];
system-features = featuresList;
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"https://nix-gaming.cachix.org"