add nix-community cachix

This commit is contained in:
Laureηt 2023-08-12 20:23:45 +02:00
parent 9e469fe30d
commit 127c5b163e
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
3 changed files with 27 additions and 15 deletions

View file

@ -252,11 +252,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1691612137,
"narHash": "sha256-7nMCJIZBB2XIjUqAjImoTaZBVIg/0REripGdNsClxlQ=",
"lastModified": 1691768277,
"narHash": "sha256-2D41BKuzFTqHlOka9MoKrDs/xljr29dXV3zdauAqM3c=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "126792584fa4eb25f6c8e3b3eb6bfb00b58a787a",
"rev": "3f7f4207a6dd8bd217c01514ea40e9e4b9b7874a",
"type": "github"
},
"original": {
@ -295,11 +295,11 @@
"pre-commit-hooks-nix": "pre-commit-hooks-nix"
},
"locked": {
"lastModified": 1689889377,
"narHash": "sha256-ChBawisTCY3Cl06CSG+QNC2ES+G0ASiOxtOVif9uP/0=",
"lastModified": 1691761621,
"narHash": "sha256-xTPifd7/93/bmBEPMhb0zuU9nzRkUIZHr+PJUHoUld8=",
"owner": "nix-community",
"repo": "lanzaboote",
"rev": "e7246c6bce1733d373059e6342f67fd53f90c198",
"rev": "f13848606f5a313c33b9c9ceb34e0ae4d51b6766",
"type": "github"
},
"original": {
@ -310,11 +310,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1691566999,
"narHash": "sha256-c4G++nXzVgJbXe5tuUZxSS+SbDqynO/nG3wocRcP6YE=",
"lastModified": 1691730710,
"narHash": "sha256-q/UBet5RdX8CBjOIpI2Y8EB8DXYr9cb7WuNGTP9HKf8=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "8ff521acd2c8132c62141c2990deb7406e32b335",
"rev": "f61352cf8066ddd3dfe9058e62184bae7382672d",
"type": "github"
},
"original": {
@ -405,11 +405,11 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1691565530,
"narHash": "sha256-qZZ6DxvS1X/tjxXNUwJrPiaIWLZyWUDM2gkJCi5uZpE=",
"lastModified": 1691654369,
"narHash": "sha256-gSILTEx1jRaJjwZxRlnu3ZwMn1FVNk80qlwiCX8kmpo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e528fa15d5f740a25b5f536c33932db64cb10fc8",
"rev": "ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e",
"type": "github"
},
"original": {

View file

@ -30,6 +30,15 @@
hyprland.url = "github:hyprwm/Hyprland";
};
nixConfig = {
extra-substituters =
[ "https://nix-community.cachix.org" "https://hyprland.cachix.org" ];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
outputs = { nixpkgs, flake-utils, lanzaboote, agenix, home-manager
, nixos-hardware, ... }@attrs:

View file

@ -17,9 +17,12 @@
# binary caches
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys =
[ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
substituters =
[ "https://hyprland.cachix.org" "https://nix-community.cachix.org" ];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
# list of allowed unfree packages