diff --git a/nixos/configs/pepe/syncthing.nix b/nixos/configs/pepe/syncthing.nix index 573170f..07a872f 100644 --- a/nixos/configs/pepe/syncthing.nix +++ b/nixos/configs/pepe/syncthing.nix @@ -1,6 +1,6 @@ { config, pkgs, lib, ... }: { - users.groups."syncthing".members = [ "mpd" "syncthing" "kodi" ]; + users.groups."syncthing".members = [ "mpd" "syncthing" "upload" ]; custom.samba-share = { enable = true; @@ -12,12 +12,19 @@ series2 = "/media/series"; books = config.services.syncthing.folders.books.path; }; - #private.test = { - # folder = ; - # users = "kodi"; - #}; + private.upload = { + folder = "/media/upload"; + users = "upload"; + }; }; + users.users.upload = { + isNormalUser = true; + group = "upload"; + }; + + users.groups.upload = {}; + sops.secrets.syncthing_cert = { }; sops.secrets.syncthing_key = { };