phantom: set default syncthing password
This commit is contained in:
parent
5b01cf9169
commit
c70164709e
2 changed files with 14 additions and 2 deletions
|
|
@ -11,6 +11,10 @@
|
|||
dataDir = "/var/lib/syncthing-data";
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
openDefaultPorts = true;
|
||||
guiPasswordFile = config.sops.secrets."syncthing/password".path;
|
||||
settings.gui = {
|
||||
user = "lelgenio";
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."syncthing.lelgenio.com" = {
|
||||
|
|
@ -26,4 +30,10 @@
|
|||
"proxy_pass_header Authorization;";
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets."syncthing/password" = {
|
||||
mode = "400";
|
||||
owner = "syncthing";
|
||||
group = "syncthing";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue