From 127c5b163e026f6352172d13a1003d06090c111a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sat, 12 Aug 2023 20:23:45 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20nix-community=20cachix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.lock | 24 ++++++++++++------------ flake.nix | 9 +++++++++ hosts/neodymium/system/nix/default.nix | 9 ++++++--- 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 97fa356..ffe062a 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/flake.nix b/flake.nix index 0eef290..5e2e1e7 100644 --- a/flake.nix +++ b/flake.nix @@ -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: diff --git a/hosts/neodymium/system/nix/default.nix b/hosts/neodymium/system/nix/default.nix index 7e3d1d2..ca85fc7 100644 --- a/hosts/neodymium/system/nix/default.nix +++ b/hosts/neodymium/system/nix/default.nix @@ -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