Add syncthing key to agenix
This commit is contained in:
parent
fcc7e151f4
commit
0ff6f77fe5
|
@ -100,6 +100,7 @@
|
|||
# Specify secrets
|
||||
age = {
|
||||
secrets.wireguard.file = secrets/wireguard.age;
|
||||
secrets.syncthing.file = secrets/syncthing.age;
|
||||
sshKeyPaths = [ "/home/coolneng/.ssh/id_ed25519" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
enable = true;
|
||||
user = "coolneng";
|
||||
dataDir = "/home/coolneng";
|
||||
key = config.age.secrets.syncthing.path;
|
||||
devices.zion = {
|
||||
id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF";
|
||||
addresses = [ "tcp://192.168.13.2:22000" ];
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
let
|
||||
coolneng =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC57m1j/G6iQyi2EpU3nj3+df5Z4PL/XbiOmDcqA7ODg";
|
||||
in { "wireguard.age".publicKeys = [ coolneng ]; }
|
||||
in {
|
||||
"wireguard.age".publicKeys = [ coolneng ];
|
||||
"syncthing.age".publicKeys = [ coolneng ];
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue