secrets: rename common secrets
This commit is contained in:
parent
0120e6b042
commit
8525509d15
|
@ -6,12 +6,12 @@ let
|
|||
srvdir = "/var/lib/tor/onion/";
|
||||
in
|
||||
{
|
||||
sops.secrets."${name}/private_key" = {
|
||||
sops.secrets."${name}-private_key" = {
|
||||
path = "${srvdir}/${name}/private_key";
|
||||
owner = "tor";
|
||||
restartUnits = [ "tor.service" ];
|
||||
};
|
||||
sops.secrets."${name}/hostname" = {
|
||||
sops.secrets."${name}-hostname" = {
|
||||
path = "${srvdir}/${name}/hostname";
|
||||
owner = "tor";
|
||||
restartUnits = [ "tor.service" ];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{config,...}:{
|
||||
nix.settings.strusted-users = [ "nixBuild" ];
|
||||
nix.settings.trusted-users = [ "nixBuild" ];
|
||||
users.users.nixBuild = {
|
||||
name = "nixBuild";
|
||||
isNormalUser = true;
|
||||
|
|
Loading…
Reference in a new issue