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, ... }: { { config, pkgs, lib, ... }: {
users.groups."syncthing".members = [ "mpd" "syncthing" "kodi" ]; users.groups."syncthing".members = [ "mpd" "syncthing" "upload" ];
custom.samba-share = { custom.samba-share = {
enable = true; enable = true;
@ -12,11 +12,18 @@
series2 = "/media/series"; series2 = "/media/series";
books = config.services.syncthing.folders.books.path; books = config.services.syncthing.folders.books.path;
}; };
#private.test = { private.upload = {
# folder = ; folder = "/media/upload";
# users = "kodi"; users = "upload";
#};
}; };
};
users.users.upload = {
isNormalUser = true;
group = "upload";
};
users.groups.upload = {};
sops.secrets.syncthing_cert = { }; sops.secrets.syncthing_cert = { };
sops.secrets.syncthing_key = { }; sops.secrets.syncthing_key = { };