deploy syncthing private files using homeage

closes #18
This commit is contained in:
Pim Kunis 2023-10-16 11:12:30 +02:00
parent dca7ffddde
commit bbc6b95b3a
4 changed files with 12 additions and 0 deletions

View file

@ -58,5 +58,15 @@
source = ../secrets/sue_azure_rsa.age; source = ../secrets/sue_azure_rsa.age;
symlinks = [ "${config.home.homeDirectory}/.ssh/sue_azure_rsa" ]; symlinks = [ "${config.home.homeDirectory}/.ssh/sue_azure_rsa" ];
}; };
file."syncthing-key.pem" = {
source = ../secrets/syncthing-key.pem.age;
symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ];
};
file."syncthing-cert.pem" = {
source = ../secrets/syncthing-cert.pem.age;
symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ];
};
}; };
} }

View file

@ -8,4 +8,6 @@ in
"wg-quick-home-preshared-key.age".publicKeys = publicKeys; "wg-quick-home-preshared-key.age".publicKeys = publicKeys;
"sue_ed25519.age".publicKeys = publicKeys; "sue_ed25519.age".publicKeys = publicKeys;
"sue_azure_rsa.age".publicKeys = publicKeys; "sue_azure_rsa.age".publicKeys = publicKeys;
"syncthing-key.pem.age".publicKeys = publicKeys;
"syncthing-cert.pem.age".publicKeys = publicKeys;
} }

Binary file not shown.

Binary file not shown.