From 19cc834f33e86af5ff5c79acc5a7346b6ff8ed1b Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 19 Sep 2024 12:05:02 +0200 Subject: nix-cache things --- nix/hosts/caladan/darwin-configuration.nix | 6 ++-- nix/hosts/corrino/secrets/harmonia-signkey.age | 7 ++++ nix/hosts/corrino/www/nix-cache/index.txt | 2 +- .../www/nix-cache/nix-cache.emile.space.nix | 38 +++++++++++----------- 4 files changed, 31 insertions(+), 22 deletions(-) create mode 100644 nix/hosts/corrino/secrets/harmonia-signkey.age diff --git a/nix/hosts/caladan/darwin-configuration.nix b/nix/hosts/caladan/darwin-configuration.nix index 597ee1a..9931b08 100644 --- a/nix/hosts/caladan/darwin-configuration.nix +++ b/nix/hosts/caladan/darwin-configuration.nix @@ -31,8 +31,8 @@ package = pkgs.nixFlakes; extraOptions = '' - builders-use-substitutes = true - auto-optimise-store = true + builders-use-substitutes = true + auto-optimise-store = true '' + lib.optionalString (pkgs.system == "aarch64-darwin") '' extra-platforms = x86_64-darwin aarch64-darwin @@ -49,11 +49,13 @@ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + "nix-cache.emile.space:3xzJknXMsR/EL3SBTu6V6oCOkjxe6MgJm0nOrElW33A=" ]; substituters = [ "https://cache.nixos.org" "https://nix-community.cachix.org" "https://cache.garnix.io" + "https://nix-cache.emile.space" ]; experimental-features = [ diff --git a/nix/hosts/corrino/secrets/harmonia-signkey.age b/nix/hosts/corrino/secrets/harmonia-signkey.age new file mode 100644 index 0000000..9449938 --- /dev/null +++ b/nix/hosts/corrino/secrets/harmonia-signkey.age @@ -0,0 +1,7 @@ +age-encryption.org/v1 +-> ssh-ed25519 gvwQ2Q UkXoEYf4nrxwdvrC6B+dURG7kafDVB9Lh3aCbJRFKHg +S3D22FpX0dx2ZV8VpHTHcv3+GHDlO9nlhMkjbUStxhg +-> ssh-ed25519 m8VklA NgtepHZ+T6Dh5FYtWXD0lURiQZ8PW1iXzyB63bgsJFQ +yWohEl1Vxs2OKoMwEJVdVagJTo4oEIPBXmotkhCMogs +--- BKqrH3vC5mxTvjE8Zc819ZUoxCG8uj5R6ppbzby9biM +Ȼ3#׻ׁ;9l}0xkc^ce!$