sombrero: Update syncthing password
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
let
|
let
|
||||||
enabled = config.mod.syncthing.enable;
|
enabled = config.mod.syncthing.enable;
|
||||||
nginxEnabled = config.mod.nginx.enable;
|
nginxEnabled = config.mod.nginx.enable;
|
||||||
@@ -33,13 +33,11 @@ in
|
|||||||
guiAddress = "0.0.0.0:8384";
|
guiAddress = "0.0.0.0:8384";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
extraOptions = {
|
|
||||||
gui = {
|
gui = {
|
||||||
user = "syncthing";
|
user = "syncthing";
|
||||||
password = "CBLPEBrHoGPOnfdZtLibnSAaPAALXfSU";
|
password = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.syncthing-password.path})";
|
||||||
insecureSkipHostcheck = false;
|
insecureSkipHostcheck = false;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
devices = {
|
devices = {
|
||||||
phone.id = config.lib.syncthing.phone;
|
phone.id = config.lib.syncthing.phone;
|
||||||
@@ -137,6 +135,11 @@ in
|
|||||||
secrets = {
|
secrets = {
|
||||||
"syncthing-cert".file = ../../../../secrets/sombrero/syncthing-cert.age;
|
"syncthing-cert".file = ../../../../secrets/sombrero/syncthing-cert.age;
|
||||||
"syncthing-key".file = ../../../../secrets/sombrero/syncthing-key.age;
|
"syncthing-key".file = ../../../../secrets/sombrero/syncthing-key.age;
|
||||||
|
"syncthing-password" = {
|
||||||
|
file = ../../../../secrets/sombrero/syncthing-password.age;
|
||||||
|
owner = "alex";
|
||||||
|
group = "users";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ in {
|
|||||||
|
|
||||||
"sombrero/syncthing-cert.age".publicKeys = [ sombrero alex ];
|
"sombrero/syncthing-cert.age".publicKeys = [ sombrero alex ];
|
||||||
"sombrero/syncthing-key.age".publicKeys = [ sombrero alex ];
|
"sombrero/syncthing-key.age".publicKeys = [ sombrero alex ];
|
||||||
|
"sombrero/syncthing-password.age".publicKeys = [ sombrero alex ];
|
||||||
"sombrero/alex.sombrero-github.com.age".publicKeys = [ sombrero alex ];
|
"sombrero/alex.sombrero-github.com.age".publicKeys = [ sombrero alex ];
|
||||||
"sombrero/alex.sombrero-github.com.pub.age".publicKeys = [ sombrero alex ];
|
"sombrero/alex.sombrero-github.com.pub.age".publicKeys = [ sombrero alex ];
|
||||||
"pinwheel/alex.sombrero-codeberg.org.age".publicKeys = [ sombrero alex ];
|
"pinwheel/alex.sombrero-codeberg.org.age".publicKeys = [ sombrero alex ];
|
||||||
|
|||||||
7
secrets/sombrero/syncthing-password.age
Normal file
7
secrets/sombrero/syncthing-password.age
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 MxZlmA nx1zNgQ2P8plL9XugoiAFWj/7NsYhDNoDSi7GJ6lrl0
|
||||||
|
EBKUnHWTO4aLOoL35ksxkeYrlePsvbLGWVVY3IwV5qc
|
||||||
|
-> ssh-ed25519 ek+b7Q NDyCYRFhUMbl9IlDLPFvosUV7D3PEGJvNUgn0xEPg3E
|
||||||
|
eGRiqeLIZOF/1m/IdoaxOlbxXcn/JI6+NQI2M/GbX5I
|
||||||
|
--- Wz6fzhu7i3Ga3+n2dznjPXOQBGOgBosDARijldd3YcQ
|
||||||
|
<01>?2V0F<01><><EFBFBD>v_<76>=<3D><<3C><><EFBFBD>S<EFBFBD>B<EFBFBD> i6<69>zC<7A><0C><>8<><7F>?<3F><>D<EFBFBD><19>յ<EFBFBD>Q
|
||||||
Reference in New Issue
Block a user