more samba

This commit is contained in:
mjallen18
2024-02-19 22:38:55 -06:00
parent aeb11d9cf4
commit 74b7b87d61
2 changed files with 27 additions and 24 deletions

View File

@@ -60,29 +60,6 @@
-v '/mnt/movies/Movies:/data/movies' \
-v '/mnt/tv/TV:/data/tv' \
lscr.io/linuxserver/jellyfin:latest
# set -e
# exec podman run \
# --rm \
# --gpus all \
# --name='jellyfin' \
# --log-driver=journald \
# --cidfile=/run/podman-'jellyfin'.ctr-id \
# --cgroups=no-conmon \
# --sdnotify=conmon \
# -d \
# --replace \
# -e 'NVIDIA_DRIVER_CAPABILITIES'='compute,utility' \
# -e 'NVIDIA_VISIBLE_DEVICES'='all' \
# -e 'PGID'='1000' \
# -e 'PUID'='911' \
# -p '8096:8096' \
# -v '/mnt/Safe\ SSD/nix-app-data/jellyfin/config:/config' \
# -v '/mnt/Safe\ SSD/nix-app-data/jellyfin/cache:/cache' \
# -v '/mnt/Safe\ SSD/nix-app-data/jellyfin/log:/log' \
# -v '/mnt/Main\ Pool/Movies:/movies' \
# -v '/mnt/Main\ Pool/TV:/tv' \
# linuxserver/jellyfin \
'';
wantedBy = [ "multi-user.target" ];
};

View File

@@ -24,7 +24,15 @@
map to guest = bad user
'';
shares = {
backup = {
"3d_printer" = {
path = "/mnt/Main\ Pool/3d_printer";
browseable = "yes";
"read only" = "no";
"guest ok" = "yes";
"create mask" = "0644";
"directory mask" = "0755";
};
Backup = {
path = "/mnt/Main\ Pool/Backup";
browseable = "yes";
"read only" = "no";
@@ -32,6 +40,14 @@
"create mask" = "0644";
"directory mask" = "0755";
};
Documents = {
path = "/mnt/Main\ Pool/Documents";
browseable = "yes";
"read only" = "no";
"guest ok" = "yes";
"create mask" = "0644";
"directory mask" = "0755";
};
isos = {
path = "/mnt/Main\ Pool/isos";
browseable = "yes";
@@ -40,6 +56,16 @@
"create mask" = "0644";
"directory mask" = "0755";
};
TimeMachine = {
path = "/mnt/Main\ Pool/TimeMachine";
"valid users" = "mattjallen";
public = "no";
writable = "yes";
"force user" = "mattjallen";
"fruit:aapl" = "yes";
"fruit:time machine" = "yes";
"vfs objects" = "catia fruit streams_xattr";
};
};
};
}