add upload folder

This commit is contained in:
Ingolf Wagner 2022-08-21 13:25:43 +02:00
parent 151b8f014c
commit ff391fa462
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -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,11 +12,18 @@
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 = { };