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, ... }: {
|
{ 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 = { };
|
||||||
|
|
Loading…
Reference in a new issue