sync
This commit is contained in:
parent
1d20b998e2
commit
5233f56434
2 changed files with 7 additions and 5 deletions
|
|
@ -1,16 +1,18 @@
|
|||
{ conf, config, ...}: {
|
||||
|
||||
sops.secrets."syncthing/key.pem" = {
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml;
|
||||
};
|
||||
sops.secrets."syncthing/cert.pem" = {
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml;
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
|
||||
user = conf.user;
|
||||
dataDir = "$(conf.home)/sync";
|
||||
configDir = "$(conf.home)/.config/syncthing";
|
||||
dataDir = /home/lilith/sync;
|
||||
configDir = /home/lilith/.config/syncthing;
|
||||
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue