aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-10-26 17:33:37 +0100
committerIsabella Bastaja <isabella@sorre.xyz>2026-10-27 01:27:22 +0100
commit82f84cf435dd5cbaf7f650996f97fd9205ed50d3 (patch)
treebd46ad88f3009a0608c2c2101cb8388475bf61ea
parentda98688efb973e79dd36e31483d5c945641d954d (diff)
create nix cache key and autosign paths on nyaan
-rw-r--r--hosts/nyaan/default.nix5
-rw-r--r--share/system/common.nix3
2 files changed, 8 insertions, 0 deletions
diff --git a/hosts/nyaan/default.nix b/hosts/nyaan/default.nix
index 31d7458..0ebab5f 100644
--- a/hosts/nyaan/default.nix
+++ b/hosts/nyaan/default.nix
@@ -19,6 +19,11 @@
}
];
+ # automatically sign store paths
+ nix.settings.secret-key-files = [
+ "/var/lib/secrets/nix-cache-priv-key"
+ ];
+
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;
diff --git a/share/system/common.nix b/share/system/common.nix
index 6e843c3..dbd3f8f 100644
--- a/share/system/common.nix
+++ b/share/system/common.nix
@@ -9,6 +9,9 @@
"flakes"
];
auto-optimise-store = true;
+ trusted-public-keys = [
+ "nix-cache.sorre.xyz:nEDyGXFMCNc1CuxcwbCbfoyGUumoYT6opiUeIGVrp5o="
+ ];
};
registry = {
"templates" = {