···11# Technically shared/meta-configs.nix but as a seperate conf file since we use Determinate Nix
22-# on our systems.
22+# on our systems. This can be also used on user-wide nix.conf files too, just nuke the trsuted-users
33+# and allowed-users part.
34experimental-features = nix-command flakes auto-allocate-uids ca-derivations cgroups configurable-impure-env daemon-trust-override dynamic-derivations fetch-closure fetch-tree git-hashing impure-derivations local-overlay-store mounted-ssh-store no-url-literals parse-toml-timestamps read-only-local-store recursive-nix verified-fetches
4556# this is how it will going to work atm
···910# probably just list every arch we're using here for cross-host compat
1011extra-platforms = aarch64-linux x86_64-linux
11121313+# adjust based on CPU cores
1414+max-jobs = auto
1515+1216# substituters and pubkeys
1313-substituters = https://cache.nixos.org https://nix-community.cachix.org https://devenv.cachix.org
1414-trusted-substituters = https://cache.nixos.org https://nix-community.cachix.org https://andreijiroh-dev.cachix.org https://ajhalili2006-nixos-builds.cachix.org https://recaptime-dev.cachix.org
1515-trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= ajhalili2006-nixos-builds.cachix.org-1:fA8HXvGR1i792D+CxL2iW/TQzUcyoW7zPUmC9Q4mQLg= andreijiroh-dev.cachix.org-1:7Jd0STdBOLiNu5fiA+AKwcMqQD2PA1j9zLDGyDkuyBo= recaptime-dev.cachix.org-1:b0UBO1zONf6ceTIoR06AKhgid4ZOl5kxB/gOIdZ9J6g=
1717+substituters = https://cache.nixos.org https://cache.flakehub.com https://nix-community.cachix.org https://devenv.cachix.org
1818+trusted-substituters = https://cache.nixos.org https://cache.flakehub.com https://nix-community.cachix.org https://andreijiroh-dev.cachix.org https://ajhalili2006-nixos-builds.cachix.org https://recaptime-dev.cachix.org
1919+trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM= cache.flakehub.com-4:Asi8qIv291s0aYLyH6IOnr5Kf6+OF14WVjkE6t3xMio= cache.flakehub.com-5:zB96CRlL7tiPtzA9/WKyPkp3A2vqxqgdgyTVNGShPDU= cache.flakehub.com-6:W4EGFwAGgBj3he7c5fNh9NkOXw0PUVaxygCVKeuvaqU= cache.flakehub.com-7:mvxJ2DZVHn/kRxlIaxYNMuDG1OvMckZu32um1TadOR8= cache.flakehub.com-8:moO+OVS0mnTjBTcOUh2kYLQEd59ExzyoW1QgQ8XAARQ= cache.flakehub.com-9:wChaSeTI6TeCuV/Sg2513ZIM9i0qJaYsF+lZCXg0J6o= cache.flakehub.com-10:2GqeNlIp6AKp4EF2MVbE1kBOp9iBSyo0UPR9KoR0o1Y=
2020+ nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= ajhalili2006-nixos-builds.cachix.org-1:fA8HXvGR1i792D+CxL2iW/TQzUcyoW7zPUmC9Q4mQLg= andreijiroh-dev.cachix.org-1:7Jd0STdBOLiNu5fiA+AKwcMqQD2PA1j9zLDGyDkuyBo= recaptime-dev.cachix.org-1:b0UBO1zONf6ceTIoR06AKhgid4ZOl5kxB/gOIdZ9J6g=
2121+2222+# instead of using nixpkgs-weekly at flakehub, we'll go straight to the source
2323+extra-nix-path = nixpkgs=https://flakehub.com/f/DeterminateSystems/nixpkgs-weekly/*.tar.gz home-manager=flake:github:nix-community/home-manager nur=flake:github:nix-community/NUR
+22-1
shared/meta-configs.nix
···11# This is the meta config file for nixpkgs and nix cli itself, including
22-# trusted keys for cachix caches.
22+# trusted keys for cachix caches and stateVersion for NixOS.
3344{ config, pkgs, lib, ... }:
55···6363 # cache.nixos.org
6464 "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
65656666+ # cache.flakehub.com
6767+ "cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
6868+ "cache.flakehub.com-4:Asi8qIv291s0aYLyH6IOnr5Kf6+OF14WVjkE6t3xMio="
6969+ "cache.flakehub.com-5:zB96CRlL7tiPtzA9/WKyPkp3A2vqxqgdgyTVNGShPDU="
7070+ "cache.flakehub.com-6:W4EGFwAGgBj3he7c5fNh9NkOXw0PUVaxygCVKeuvaqU="
7171+ "cache.flakehub.com-7:mvxJ2DZVHn/kRxlIaxYNMuDG1OvMckZu32um1TadOR8="
7272+ "cache.flakehub.com-8:moO+OVS0mnTjBTcOUh2kYLQEd59ExzyoW1QgQ8XAARQ="
7373+ "cache.flakehub.com-9:wChaSeTI6TeCuV/Sg2513ZIM9i0qJaYsF+lZCXg0J6o="
7474+ "cache.flakehub.com-10:2GqeNlIp6AKp4EF2MVbE1kBOp9iBSyo0UPR9KoR0o1Y="
7575+6676 # nix-community
6777 "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
6878···8292 # also list them all too
8393 trusted-substituters = [
8494 "https://cache.nixos.org"
9595+ "https://cache.flakehub.com"
8596 "https://nix-community.cachix.org"
8697 "https://devenv.cachix.org"
8798 "https://andreijiroh-dev.cachix.org"
···96107 source = ../misc/nix/nix.custom.conf;
97108 mode = "0644";
98109 };
110110+111111+ # This value determines the NixOS release from which the default
112112+ # settings for stateful data, like file locations and database versions
113113+ # on your system were taken. It‘s perfectly fine and recommended to leave
114114+ # this value at the release version of the first install of this system.
115115+ # Before changing this value read the documentation for this option
116116+ # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
117117+ # TODO: Always bump this to next point release once the current value is
118118+ # officially released to stable after reading the changelog.
119119+ system.stateVersion = "25.05"; # Did you read the comment?
99120}