move mounts
This commit is contained in:
@@ -91,34 +91,34 @@ in
|
||||
enable = true;
|
||||
hostsAllow = "10.0.1.";
|
||||
enableTimeMachine = true;
|
||||
timeMachinePath = "/mnt/mainpool/TimeMachine";
|
||||
timeMachinePath = "/home/admin/mainpool/TimeMachine";
|
||||
|
||||
shares = {
|
||||
"3d_printer" = {
|
||||
public = true;
|
||||
sharePath = "/mnt/mainpool/3d_printer";
|
||||
sharePath = "/home/admin/mainpool/3d_printer";
|
||||
};
|
||||
Backup = {
|
||||
public = true;
|
||||
sharePath = "/mnt/mainpool/Backup";
|
||||
sharePath = "/home/admin/mainpool/Backup";
|
||||
};
|
||||
Documents = {
|
||||
public = true;
|
||||
sharePath = "/mnt/mainpool/Documents";
|
||||
sharePath = "/home/admin/mainpool/Documents";
|
||||
};
|
||||
isos = {
|
||||
public = true;
|
||||
sharePath = "/mnt/mainpool/isos";
|
||||
sharePath = "/home/admin/mainpool/isos";
|
||||
};
|
||||
TimeMachine = {
|
||||
public = false;
|
||||
sharePath = "/mnt/mainpool/TimeMachine";
|
||||
sharePath = "/home/admin/mainpool/TimeMachine";
|
||||
enableTimeMachine = true;
|
||||
timeMachineMaxSize = "1T";
|
||||
};
|
||||
app_data = {
|
||||
public = true;
|
||||
sharePath = "/mnt/ssd/ssd_app_data";
|
||||
sharePath = "/home/admin/ssd/ssd_app_data";
|
||||
};
|
||||
nix-config = {
|
||||
public = true;
|
||||
@@ -230,7 +230,7 @@ in
|
||||
serve_from_sub_path = true;
|
||||
http_addr = "";
|
||||
};
|
||||
dataDir = "/mnt/ssd/nix-app-data/grafana";
|
||||
dataDir = "/home/admin/ssd/nix-app-data/grafana";
|
||||
};
|
||||
|
||||
prometheus = {
|
||||
@@ -287,7 +287,7 @@ in
|
||||
pkgs.bash
|
||||
];
|
||||
script = ''
|
||||
if test -d /mnt/ssd/ssd_app_data; then
|
||||
if test -d /home/admin/ssd/ssd_app_data; then
|
||||
echo "NAS ZFS Pools Mounted."
|
||||
else
|
||||
zpool import -f "MainPool"
|
||||
|
||||
Reference in New Issue
Block a user