monolith: fix nix serve
This commit is contained in:
parent
ebe532daec
commit
18357e7779
BIN
secrets/monolith-nix-serve-privkey.age
Normal file
BIN
secrets/monolith-nix-serve-privkey.age
Normal file
Binary file not shown.
|
@ -5,4 +5,5 @@ in
|
|||
"rainbow-gitlab-runner-thoreb-itinerario-registrationConfigFile.age".publicKeys = [ main_ssh_public_key ];
|
||||
"monolith-gitlab-runner-thoreb-itinerario-registrationConfigFile.age".publicKeys = [ main_ssh_public_key ];
|
||||
"lelgenio-cachix.age".publicKeys = [ main_ssh_public_key ];
|
||||
"monolith-nix-serve-privkey.age".publicKeys = [ main_ssh_public_key ];
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
./switch \
|
||||
--option extra-substituters "http://nixcache.lelgenio.1337.cx:5000" \
|
||||
--option extra-trusted-public-keys "nixcache.lelgenio.1337.cx:zxCfx7S658llDgAUG0JVyNrlAdFVvPniSdDOkvfTPS8=" \
|
||||
--option extra-trusted-public-keys "nixcache.lelgenio.1337.cx:HZCwDaM39BOF+MLuviMQTUrz3rBWLTLV9H+GV4zcxVI=" \
|
||||
"$@"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
secretKeyFile = "/var/cache-priv-key.pem";
|
||||
secretKeyFile = config.age.secrets.monolith-nix-serve-privkey.path;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,5 +6,7 @@
|
|||
../secrets/monolith-gitlab-runner-thoreb-itinerario-registrationConfigFile.age;
|
||||
secrets.rainbow-gitlab-runner-thoreb-itinerario-registrationConfigFile.file =
|
||||
../secrets/rainbow-gitlab-runner-thoreb-itinerario-registrationConfigFile.age;
|
||||
secrets.monolith-nix-serve-privkey.file =
|
||||
../secrets/monolith-nix-serve-privkey.age;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue