nix-serve: move secret to sops

This commit is contained in:
Leonardo Eugênio 2026-02-15 03:32:22 -03:00
parent ed510001fd
commit 03e2220105
5 changed files with 5 additions and 5 deletions

View file

@ -7,6 +7,6 @@
{
services.nix-serve = {
enable = true;
secretKeyFile = config.age.secrets.monolith-nix-serve-privkey.path;
secretKeyFile = config.sops.secrets."nix-serve/private-key".path;
};
}

View file

@ -2,6 +2,5 @@
{
age = {
identityPaths = [ "/root/.ssh/id_rsa" ];
secrets.monolith-nix-serve-privkey.file = ../secrets/monolith-nix-serve-privkey.age;
};
}