mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 03:07:32 -08:00
don't delete syncthing folders
This commit is contained in:
parent
7d087eb0c2
commit
3beb734431
@ -1,8 +1,8 @@
|
||||
{ config, lib, pkgs, user, ... }:
|
||||
|
||||
let cfg = config.modules.services.syncthing;
|
||||
let cfg = config.modules.programs.syncthing;
|
||||
in {
|
||||
options.modules.services.syncthing = with lib; {
|
||||
options.modules.programs.syncthing = with lib; {
|
||||
enable = lib.mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
@ -51,6 +51,7 @@ in {
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
key = "/run/agenix/syncthing/key.pem";
|
||||
cert = "/run/agenix/syncthing/cert.pem";
|
||||
overrideFolders = false; # don't delete user add folders
|
||||
settings.devices = cfg.devices;
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user