feat: add cachix repos to common

This commit is contained in:
matt1432 2023-10-20 10:20:12 -04:00
parent 95ec4f4bdc
commit 254dcbe941
4 changed files with 10 additions and 5 deletions

View file

@ -27,6 +27,16 @@
keep-derivations = true; keep-derivations = true;
auto-optimise-store = true; auto-optimise-store = true;
warn-dirty = false; warn-dirty = false;
# Cachix
substituters = [
"https://hyprland.cachix.org"
"https://nix-gaming.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
];
}; };
# Minimize dowloads of indirect nixpkgs flakes # Minimize dowloads of indirect nixpkgs flakes

Binary file not shown.

BIN
flake.nix

Binary file not shown.

View file

@ -1,9 +1,4 @@
{ nix-gaming, pkgs, ... }: { { nix-gaming, pkgs, ... }: {
nix.settings = {
substituters = ["https://nix-gaming.cachix.org"];
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
};
imports = [ imports = [
nix-gaming.nixosModules.steamCompat nix-gaming.nixosModules.steamCompat
]; ];