user changes and more time machine config
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
'';
|
||||
shares = {
|
||||
"3d_printer" = {
|
||||
path = "/mnt/Main\ Pool/3d_printer";
|
||||
path = "/mnt/mainpool/3d_printer";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
@@ -33,7 +33,7 @@
|
||||
"directory mask" = "0755";
|
||||
};
|
||||
Backup = {
|
||||
path = "/mnt/Main\ Pool/Backup";
|
||||
path = "/mnt/mainpool/Backup";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
@@ -41,7 +41,7 @@
|
||||
"directory mask" = "0755";
|
||||
};
|
||||
Documents = {
|
||||
path = "/mnt/Main\ Pool/Documents";
|
||||
path = "/mnt/mainpool/Documents";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
@@ -49,7 +49,7 @@
|
||||
"directory mask" = "0755";
|
||||
};
|
||||
isos = {
|
||||
path = "/mnt/Main\ Pool/isos";
|
||||
path = "/mnt/mainpool/isos";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
@@ -57,14 +57,33 @@
|
||||
"directory mask" = "0755";
|
||||
};
|
||||
TimeMachine = {
|
||||
path = "/mnt/Main\ Pool/TimeMachine";
|
||||
"valid users" = "mattjallen";
|
||||
path = "/mnt/mainpool/TimeMachine";
|
||||
public = "no";
|
||||
"force user" = "admin";
|
||||
writable = "yes";
|
||||
"force user" = "mattjallen";
|
||||
"valid users" = "admin";
|
||||
"fruit:aapl" = "yes";
|
||||
"fruit:time machine" = "yes";
|
||||
"vfs objects" = "catia fruit streams_xattr";
|
||||
"fruit:metadata" = "stream";
|
||||
"fruit:model" = "MacSamba";
|
||||
"fruit:posix_rename" = "yes";
|
||||
"fruit:veto_appledouble" = "no";
|
||||
"fruit:nfs_aces" = "no";
|
||||
"fruit:wipe_intentionally_left_blank_rfork" = "yes";
|
||||
"fruit:delete_empty_adfiles" = "yes";
|
||||
"fruit:time machine max size" = "1T";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.netatalk = {
|
||||
enable = true;
|
||||
settings = {
|
||||
time-machine = {
|
||||
path = "/mnt/mainpool/TimeMachine";
|
||||
"valid users" = "whoever";
|
||||
"time machine" = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user