test building optimized packages

This commit is contained in:
Kopatz
2025-02-11 11:46:39 +01:00
parent 72b94b1d4b
commit a020611d49
7 changed files with 45 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
{ config, ... }: {
age.secrets.binary-cache = {
file = ../../secrets/binary-cache.age;
};
nix.sshServe = {
enable = true;
keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFeP6qtVqE/gu72ZUZE8cdRi3INiUW9NqDR7SjXIzTw2 kopatz"
];
};
services.nix-serve = {
enable = true;
openFirewall = true;
port = 5000;
secretKeyFile = config.age.secrets.binary-cache.path;
};
}