set up cachix
This commit is contained in:
@@ -234,6 +234,7 @@ xclip # manipulate clipboard from scripts
|
||||
|
||||
# NIX
|
||||
nixfmt # linting
|
||||
cachix # why spend time compiling?
|
||||
|
||||
# PYTHON.
|
||||
python3 # base language
|
||||
@@ -697,12 +698,27 @@ networking.firewall.allowedTCPPorts = [ 25152 80 443 ];
|
||||
networking.firewall.allowedUDPPorts = [ 25152 80 443 ];
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
system.copySystemConfiguration = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
system = {
|
||||
copySystemConfiguration = true;
|
||||
stateVersion = VERSION;
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
substituters = [
|
||||
"https://nix-gaming.cachix.org"
|
||||
"https://nixpkgs-python.cachix.org"
|
||||
"https://devenv.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||
"nixpkgs-python.cachix.org-1:hxjI7pFxTyuTHn2NkvWCrAUcNZLNS3ZAvfYNuYifcEU="
|
||||
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
|
||||
];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = VERSION;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user