nix-serve: move secret to sops
This commit is contained in:
parent
ed510001fd
commit
03e2220105
5 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,5 @@
|
|||
{
|
||||
age = {
|
||||
identityPaths = [ "/root/.ssh/id_rsa" ];
|
||||
secrets.monolith-nix-serve-privkey.file = ../secrets/monolith-nix-serve-privkey.age;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue