move mounts
This commit is contained in:
@@ -91,34 +91,34 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
hostsAllow = "10.0.1.";
|
hostsAllow = "10.0.1.";
|
||||||
enableTimeMachine = true;
|
enableTimeMachine = true;
|
||||||
timeMachinePath = "/mnt/mainpool/TimeMachine";
|
timeMachinePath = "/home/admin/mainpool/TimeMachine";
|
||||||
|
|
||||||
shares = {
|
shares = {
|
||||||
"3d_printer" = {
|
"3d_printer" = {
|
||||||
public = true;
|
public = true;
|
||||||
sharePath = "/mnt/mainpool/3d_printer";
|
sharePath = "/home/admin/mainpool/3d_printer";
|
||||||
};
|
};
|
||||||
Backup = {
|
Backup = {
|
||||||
public = true;
|
public = true;
|
||||||
sharePath = "/mnt/mainpool/Backup";
|
sharePath = "/home/admin/mainpool/Backup";
|
||||||
};
|
};
|
||||||
Documents = {
|
Documents = {
|
||||||
public = true;
|
public = true;
|
||||||
sharePath = "/mnt/mainpool/Documents";
|
sharePath = "/home/admin/mainpool/Documents";
|
||||||
};
|
};
|
||||||
isos = {
|
isos = {
|
||||||
public = true;
|
public = true;
|
||||||
sharePath = "/mnt/mainpool/isos";
|
sharePath = "/home/admin/mainpool/isos";
|
||||||
};
|
};
|
||||||
TimeMachine = {
|
TimeMachine = {
|
||||||
public = false;
|
public = false;
|
||||||
sharePath = "/mnt/mainpool/TimeMachine";
|
sharePath = "/home/admin/mainpool/TimeMachine";
|
||||||
enableTimeMachine = true;
|
enableTimeMachine = true;
|
||||||
timeMachineMaxSize = "1T";
|
timeMachineMaxSize = "1T";
|
||||||
};
|
};
|
||||||
app_data = {
|
app_data = {
|
||||||
public = true;
|
public = true;
|
||||||
sharePath = "/mnt/ssd/ssd_app_data";
|
sharePath = "/home/admin/ssd/ssd_app_data";
|
||||||
};
|
};
|
||||||
nix-config = {
|
nix-config = {
|
||||||
public = true;
|
public = true;
|
||||||
@@ -230,7 +230,7 @@ in
|
|||||||
serve_from_sub_path = true;
|
serve_from_sub_path = true;
|
||||||
http_addr = "";
|
http_addr = "";
|
||||||
};
|
};
|
||||||
dataDir = "/mnt/ssd/nix-app-data/grafana";
|
dataDir = "/home/admin/ssd/nix-app-data/grafana";
|
||||||
};
|
};
|
||||||
|
|
||||||
prometheus = {
|
prometheus = {
|
||||||
@@ -287,7 +287,7 @@ in
|
|||||||
pkgs.bash
|
pkgs.bash
|
||||||
];
|
];
|
||||||
script = ''
|
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."
|
echo "NAS ZFS Pools Mounted."
|
||||||
else
|
else
|
||||||
zpool import -f "MainPool"
|
zpool import -f "MainPool"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
# image = " lissy93/dashy:latest";
|
# image = " lissy93/dashy:latest";
|
||||||
# ports = [ "8888:80" ];
|
# ports = [ "8888:80" ];
|
||||||
# volumes = [
|
# volumes = [
|
||||||
# "/mnt/ssd/nix-app-data/dashy/conf.yaml:/app/public/conf.yaml"
|
# "/home/admin/ssd/nix-app-data/dashy/conf.yaml:/app/public/conf.yaml"
|
||||||
# ];
|
# ];
|
||||||
# environment = {
|
# environment = {
|
||||||
# PUID = "911";
|
# PUID = "911";
|
||||||
|
|||||||
@@ -21,17 +21,17 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/nix-app-data/deluge";
|
default = "/home/admin/ssd/nix-app-data/deluge";
|
||||||
};
|
};
|
||||||
|
|
||||||
moviesPath = mkOption {
|
moviesPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/downloads";
|
default = "/home/admin/ssd/ssd_app_data/downloads";
|
||||||
};
|
};
|
||||||
|
|
||||||
tvPath = mkOption {
|
tvPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/downloads-incomplete";
|
default = "/home/admin/ssd/ssd_app_data/downloads-incomplete";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/homarr";
|
default = "/home/admin/ssd/ssd_app_data/homarr";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/homepage";
|
default = "/home/admin/ssd/ssd_app_data/homepage";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,12 +26,12 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/nix-app-data/jackett";
|
default = "/home/admin/ssd/nix-app-data/jackett";
|
||||||
};
|
};
|
||||||
|
|
||||||
downloadsPath = mkOption {
|
downloadsPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/downloads";
|
default = "/home/admin/ssd/ssd_app_data/downloads";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,17 +26,17 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/nix-app-data/jellyfin";
|
default = "/home/admin/ssd/nix-app-data/jellyfin";
|
||||||
};
|
};
|
||||||
|
|
||||||
moviesPath = mkOption {
|
moviesPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/mainpool/Movies";
|
default = "/home/admin/mainpool/Movies";
|
||||||
};
|
};
|
||||||
|
|
||||||
tvPath = mkOption {
|
tvPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/mainpool/TV";
|
default = "/home/admin/mainpool/TV";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/jellyseerr";
|
default = "/home/admin/ssd/ssd_app_data/jellyseerr";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/mariadb";
|
default = "/home/admin/ssd/mariadb";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -31,12 +31,12 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/nextcloud";
|
default = "/home/admin/ssd/ssd_app_data/nextcloud";
|
||||||
};
|
};
|
||||||
|
|
||||||
dataPath = mkOption {
|
dataPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/mainpool/Nextcloud";
|
default = "/home/admin/mainpool/Nextcloud";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/nix-app-data/ollama";
|
default = "/home/admin/ssd/nix-app-data/ollama";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,12 +26,12 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/nix-app-data/open-webui";
|
default = "/home/admin/ssd/nix-app-data/open-webui";
|
||||||
};
|
};
|
||||||
|
|
||||||
ollamaPath = mkOption {
|
ollamaPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/nix-app-data/ollama";
|
default = "/home/admin/ssd/nix-app-data/ollama";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/orca-slicer";
|
default = "/home/admin/ssd/ssd_app_data/orca-slicer";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,17 +26,17 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/radarr";
|
default = "/home/admin/ssd/ssd_app_data/radarr";
|
||||||
};
|
};
|
||||||
|
|
||||||
moviesPath = mkOption {
|
moviesPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/mainpool/Movies";
|
default = "/home/admin/mainpool/Movies";
|
||||||
};
|
};
|
||||||
|
|
||||||
downloadsPath = mkOption {
|
downloadsPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/downloads";
|
default = "/home/admin/ssd/ssd_app_data/downloads";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,27 +26,27 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/sabnzbd";
|
default = "/home/admin/ssd/ssd_app_data/sabnzbd";
|
||||||
};
|
};
|
||||||
|
|
||||||
moviesPath = mkOption {
|
moviesPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/mainpool/Movies";
|
default = "/home/admin/mainpool/Movies";
|
||||||
};
|
};
|
||||||
|
|
||||||
tvPath = mkOption {
|
tvPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/mainpool/TV";
|
default = "/home/admin/mainpool/TV";
|
||||||
};
|
};
|
||||||
|
|
||||||
downloadsPath = mkOption {
|
downloadsPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/downloads";
|
default = "/home/admin/ssd/ssd_app_data/downloads";
|
||||||
};
|
};
|
||||||
|
|
||||||
downloadsIncompletePath = mkOption {
|
downloadsIncompletePath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/downloads-incomplete";
|
default = "/home/admin/ssd/ssd_app_data/downloads-incomplete";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -26,17 +26,17 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/sonarr";
|
default = "/home/admin/ssd/ssd_app_data/sonarr";
|
||||||
};
|
};
|
||||||
|
|
||||||
tvPath = mkOption {
|
tvPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/mainpool/TV";
|
default = "/home/admin/mainpool/TV";
|
||||||
};
|
};
|
||||||
|
|
||||||
downloadsPath = mkOption {
|
downloadsPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/downloads";
|
default = "/home/admin/ssd/ssd_app_data/downloads";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/swag";
|
default = "/home/admin/ssd/ssd_app_data/swag";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ in
|
|||||||
ports = [ "${cfg.port}:8443" ];
|
ports = [ "${cfg.port}:8443" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"${cfg.configPath}:/config"
|
"${cfg.configPath}:/config"
|
||||||
"/mnt/ssd/ssd_app_data:/ssd_app_data"
|
"/home/admin/ssd/ssd_app_data:/ssd_app_data"
|
||||||
"/home/admin/nix-config:/nix-config"
|
"/home/admin/nix-config:/nix-config"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ with lib;
|
|||||||
|
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/mnt/ssd/ssd_app_data/vscode";
|
default = "/home/admin/ssd/ssd_app_data/vscode";
|
||||||
};
|
};
|
||||||
|
|
||||||
puid = mkOption {
|
puid = mkOption {
|
||||||
|
|||||||
Reference in New Issue
Block a user