Add syncthing key to agenix
This commit is contained in:
parent
fcc7e151f4
commit
0ff6f77fe5
|
@ -100,7 +100,8 @@
|
||||||
# Specify secrets
|
# Specify secrets
|
||||||
age = {
|
age = {
|
||||||
secrets.wireguard.file = secrets/wireguard.age;
|
secrets.wireguard.file = secrets/wireguard.age;
|
||||||
sshKeyPaths = ["/home/coolneng/.ssh/id_ed25519"];
|
secrets.syncthing.file = secrets/syncthing.age;
|
||||||
|
sshKeyPaths = [ "/home/coolneng/.ssh/id_ed25519" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Import other configuration modules
|
# Import other configuration modules
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "coolneng";
|
user = "coolneng";
|
||||||
dataDir = "/home/coolneng";
|
dataDir = "/home/coolneng";
|
||||||
|
key = config.age.secrets.syncthing.path;
|
||||||
devices.zion = {
|
devices.zion = {
|
||||||
id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF";
|
id = "FLI2RS7-GNI5PDM-SQRNF7P-YJIOXJ7-46FRPEI-NRLQGBC-HXRWG7O-RKOVLAF";
|
||||||
addresses = [ "tcp://192.168.13.2:22000" ];
|
addresses = [ "tcp://192.168.13.2:22000" ];
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
let
|
let
|
||||||
coolneng =
|
coolneng =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC57m1j/G6iQyi2EpU3nj3+df5Z4PL/XbiOmDcqA7ODg";
|
"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