making all zpools lower case
This commit is contained in:
parent
3bab15ecad
commit
ad8897359c
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -170,7 +170,7 @@
|
|||||||
"topsites",
|
"topsites",
|
||||||
"topstories",
|
"topstories",
|
||||||
"Toqozz",
|
"Toqozz",
|
||||||
"Torenting",
|
"torrenting",
|
||||||
"twimg",
|
"twimg",
|
||||||
"uaccess",
|
"uaccess",
|
||||||
"ublock",
|
"ublock",
|
||||||
|
@ -13,9 +13,9 @@
|
|||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
zfs.extraPools = [
|
zfs.extraPools = [
|
||||||
"Media"
|
"media"
|
||||||
"Storage"
|
"storage"
|
||||||
"Torenting"
|
"torrenting"
|
||||||
];
|
];
|
||||||
filesystem = "zfs";
|
filesystem = "zfs";
|
||||||
useSystemdBoot = true;
|
useSystemdBoot = true;
|
||||||
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
plex = {
|
plex = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dataDir = "/ZFS/Media/Plex/";
|
dataDir = "/ZFS/media/Plex/";
|
||||||
};
|
};
|
||||||
|
|
||||||
smartd.enable = true;
|
smartd.enable = true;
|
||||||
@ -61,7 +61,7 @@
|
|||||||
syncthing.settings.folders = {
|
syncthing.settings.folders = {
|
||||||
"notes" = {
|
"notes" = {
|
||||||
id = "l62ul-lpweo"; # cspell:disable-line
|
id = "l62ul-lpweo"; # cspell:disable-line
|
||||||
path = "/ZFS/Media/Notes";
|
path = "/ZFS/media/Notes";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
@ -71,7 +71,7 @@
|
|||||||
};
|
};
|
||||||
"books" = {
|
"books" = {
|
||||||
id = "6uppx-vadmy"; # cspell:disable-line
|
id = "6uppx-vadmy"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/books";
|
path = "/ZFS/storage/Syncthing/books";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
@ -81,7 +81,7 @@
|
|||||||
};
|
};
|
||||||
"important" = {
|
"important" = {
|
||||||
id = "4ckma-gtshs"; # cspell:disable-line
|
id = "4ckma-gtshs"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/important";
|
path = "/ZFS/storage/Syncthing/important";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
@ -91,7 +91,7 @@
|
|||||||
};
|
};
|
||||||
"music" = {
|
"music" = {
|
||||||
id = "vprc5-3azqc"; # cspell:disable-line
|
id = "vprc5-3azqc"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/music";
|
path = "/ZFS/storage/Syncthing/music";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
@ -101,7 +101,7 @@
|
|||||||
};
|
};
|
||||||
"projects" = {
|
"projects" = {
|
||||||
id = "vyma6-lqqrz"; # cspell:disable-line
|
id = "vyma6-lqqrz"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/projects";
|
path = "/ZFS/storage/Syncthing/projects";
|
||||||
devices = [
|
devices = [
|
||||||
"bob"
|
"bob"
|
||||||
"rhapsody-in-green"
|
"rhapsody-in-green"
|
||||||
@ -130,7 +130,7 @@
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs";
|
Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = "${pkgs.python3}/bin/python3 /ZFS/Media/Scripts/new/ZFS/snapshot_manager.py --config-file='/ZFS/Media/Scripts/new/config.toml'";
|
ExecStart = "${pkgs.python3}/bin/python3 /ZFS/media/Scripts/new/ZFS/snapshot_manager.py --config-file='/ZFS/media/Scripts/new/config.toml'";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
timers."snapshot_manager" = {
|
timers."snapshot_manager" = {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
ports = [ "8080:8080" ];
|
ports = [ "8080:8080" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS:/data"
|
"/ZFS:/data"
|
||||||
"/ZFS/Media/Docker/filebrowser:/config"
|
"/ZFS/media/Docker/filebrowser:/config"
|
||||||
];
|
];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
user = "nobody:users";
|
user = "nobody:users";
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
"29432:29432"
|
"29432:29432"
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/Media/Docker/Docker/Storage/qbit:/config"
|
"/ZFS/media/Docker/Docker/Storage/qbit:/config"
|
||||||
"/ZFS/Torenting/Qbit/:/data"
|
"/ZFS/torrenting/Qbit/:/data"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
PUID = "998";
|
PUID = "998";
|
||||||
@ -29,8 +29,8 @@
|
|||||||
"8118:8118"
|
"8118:8118"
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/Media/Docker/Docker/Storage/qbitvpn:/config"
|
"/ZFS/media/Docker/Docker/Storage/qbitvpn:/config"
|
||||||
"/ZFS/Torenting/QbitVPN/:/data"
|
"/ZFS/torrenting/QbitVPN/:/data"
|
||||||
"/etc/localtime:/etc/localtime:ro"
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
@ -48,7 +48,7 @@
|
|||||||
DELUGE_DAEMON_LOG_LEVEL = "debug";
|
DELUGE_DAEMON_LOG_LEVEL = "debug";
|
||||||
DELUGE_WEB_LOG_LEVEL = "debug";
|
DELUGE_WEB_LOG_LEVEL = "debug";
|
||||||
};
|
};
|
||||||
environmentFiles = [ "/ZFS/Media/Docker/Docker/jeeves/internal/qbitvpn.env" ];
|
environmentFiles = [ "/ZFS/media/Docker/Docker/jeeves/internal/qbitvpn.env" ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
prowlarr = {
|
prowlarr = {
|
||||||
@ -58,7 +58,7 @@
|
|||||||
PGID = "100";
|
PGID = "100";
|
||||||
TZ = "America/New_York";
|
TZ = "America/New_York";
|
||||||
};
|
};
|
||||||
volumes = [ "/ZFS/Media/Docker/Docker/Storage/prowlarr:/config" ];
|
volumes = [ "/ZFS/media/Docker/Docker/Storage/prowlarr:/config" ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
radarr = {
|
radarr = {
|
||||||
@ -69,9 +69,9 @@
|
|||||||
TZ = "America/New_York";
|
TZ = "America/New_York";
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/Media/Docker/Docker/Storage/radarr:/config"
|
"/ZFS/media/Docker/Docker/Storage/radarr:/config"
|
||||||
"/ZFS/Storage/Plex/Movies:/movies"
|
"/ZFS/storage/Plex/Movies:/movies"
|
||||||
"/ZFS/Torenting/QbitVPN:/data"
|
"/ZFS/torrenting/QbitVPN:/data"
|
||||||
];
|
];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
@ -83,9 +83,9 @@
|
|||||||
TZ = "America/New_York";
|
TZ = "America/New_York";
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/Media/Docker/Docker/Storage/sonarr:/config"
|
"/ZFS/media/Docker/Docker/Storage/sonarr:/config"
|
||||||
"/ZFS/Storage/Plex/TV:/tv"
|
"/ZFS/storage/Plex/TV:/tv"
|
||||||
"/ZFS/Torenting/QbitVPN:/data"
|
"/ZFS/torrenting/QbitVPN:/data"
|
||||||
];
|
];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
postgres = {
|
postgres = {
|
||||||
image = "postgres:16";
|
image = "postgres:16";
|
||||||
ports = [ "5432:5432" ];
|
ports = [ "5432:5432" ];
|
||||||
volumes = [ "/ZFS/Media/databases/postgres:/var/lib/postgresql/data" ];
|
volumes = [ "/ZFS/media/databases/postgres:/var/lib/postgresql/data" ];
|
||||||
environment = {
|
environment = {
|
||||||
POSTGRES_USER = "admin";
|
POSTGRES_USER = "admin";
|
||||||
POSTGRES_DB = "archive";
|
POSTGRES_DB = "archive";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
grafana = {
|
grafana = {
|
||||||
image = "grafana/grafana-enterprise";
|
image = "grafana/grafana-enterprise";
|
||||||
volumes = [ "/ZFS/Media/Docker/Docker/Storage/grafana:/var/lib/grafana" ];
|
volumes = [ "/ZFS/media/Docker/Docker/Storage/grafana:/var/lib/grafana" ];
|
||||||
user = "998:998";
|
user = "998:998";
|
||||||
extraOptions = [ "--network=web" ];
|
extraOptions = [ "--network=web" ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
@ -10,8 +10,8 @@
|
|||||||
dnd_file_server = {
|
dnd_file_server = {
|
||||||
image = "ubuntu/apache2:latest";
|
image = "ubuntu/apache2:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/Media/Docker/Docker/templates/file_server/sites/:/etc/apache2/sites-enabled/"
|
"/ZFS/media/Docker/Docker/templates/file_server/sites/:/etc/apache2/sites-enabled/"
|
||||||
"/ZFS/Storage/Main/Table_Top/:/data"
|
"/ZFS/storage/Main/Table_Top/:/data"
|
||||||
];
|
];
|
||||||
extraOptions = [ "--network=web" ];
|
extraOptions = [ "--network=web" ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
@ -19,8 +19,8 @@
|
|||||||
arch_mirror = {
|
arch_mirror = {
|
||||||
image = "ubuntu/apache2:latest";
|
image = "ubuntu/apache2:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/Media/Docker/Docker/templates/file_server/sites/:/etc/apache2/sites-enabled/"
|
"/ZFS/media/Docker/Docker/templates/file_server/sites/:/etc/apache2/sites-enabled/"
|
||||||
"/ZFS/Media/Mirror/:/data"
|
"/ZFS/media/Mirror/:/data"
|
||||||
];
|
];
|
||||||
ports = [ "800:80" ];
|
ports = [ "800:80" ];
|
||||||
extraOptions = [ "--network=web" ];
|
extraOptions = [ "--network=web" ];
|
||||||
@ -33,9 +33,9 @@
|
|||||||
TZ = "Etc/EST";
|
TZ = "Etc/EST";
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/ZFS/Media/Docker/Docker/jeeves/web/haproxy/cloudflare.pem:/etc/ssl/certs/cloudflare.pem"
|
"/ZFS/media/Docker/Docker/jeeves/web/haproxy/cloudflare.pem:/etc/ssl/certs/cloudflare.pem"
|
||||||
"/ZFS/Media/Docker/Docker/jeeves/web/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg"
|
"/ZFS/media/Docker/Docker/jeeves/web/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg"
|
||||||
"/ZFS/Media/Docker/Docker/jeeves/web/haproxy/API:/run/haproxy/"
|
"/ZFS/media/Docker/Docker/jeeves/web/haproxy/API:/run/haproxy/"
|
||||||
];
|
];
|
||||||
dependsOn = [
|
dependsOn = [
|
||||||
"grafana"
|
"grafana"
|
||||||
@ -51,7 +51,7 @@
|
|||||||
"tunnel"
|
"tunnel"
|
||||||
"run"
|
"run"
|
||||||
];
|
];
|
||||||
environmentFiles = [ "/ZFS/Media/Docker/Docker/jeeves/web/cloudflare_tunnel.env" ];
|
environmentFiles = [ "/ZFS/media/Docker/Docker/jeeves/web/cloudflare_tunnel.env" ];
|
||||||
dependsOn = [ "haproxy" ];
|
dependsOn = [ "haproxy" ];
|
||||||
extraOptions = [ "--network=web" ];
|
extraOptions = [ "--network=web" ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user