add upload folder
This commit is contained in:
parent
151b8f014c
commit
ff391fa462
1 changed files with 12 additions and 5 deletions
|
@ -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 = { };
|
||||
|
|
Loading…
Reference in a new issue