Skip to content

Commit

Permalink
Add devenv cache substitutor
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeChannings committed Nov 9, 2024
1 parent a1b479a commit 9295934
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,12 @@
};

nixConfig = {
extra-substituters = [ "https://luke-channings.cachix.org" ];
extra-substituters = [
"https://devenv.cachix.org"
"https://luke-channings.cachix.org"
];
extra-trusted-public-keys = [
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
"luke-channings.cachix.org-1:ETsZ3R5ue9QOwO4spg8aGJMwMU6k5tQIaHWnTakGHjo="
];
};
Expand Down
8 changes: 6 additions & 2 deletions templates/darwin-system/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
description = "Configuration for Luke's CAIS MacBook Pro";
description = "Configuration for Luke's Work MacBook Pro";

inputs = {
devenv-root = {
Expand Down Expand Up @@ -56,8 +56,12 @@
};

nixConfig = {
extra-substituters = [ "https://luke-channings.cachix.org" ];
extra-substituters = [
"https://devenv.cachix.org"
"https://luke-channings.cachix.org"
];
extra-trusted-public-keys = [
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
"luke-channings.cachix.org-1:ETsZ3R5ue9QOwO4spg8aGJMwMU6k5tQIaHWnTakGHjo="
];
};
Expand Down
6 changes: 5 additions & 1 deletion templates/devenv/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@
};

nixConfig = {
extra-substituters = [ "https://luke-channings.cachix.org" ];
extra-substituters = [
"https://devenv.cachix.org"
"https://luke-channings.cachix.org"
];
extra-trusted-public-keys = [
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
"luke-channings.cachix.org-1:ETsZ3R5ue9QOwO4spg8aGJMwMU6k5tQIaHWnTakGHjo="
];
};
Expand Down

0 comments on commit 9295934

Please sign in to comment.