feat: updated pool names
This commit is contained in:
parent
ac0f1ce2e6
commit
1eb66d1c31
63 changed files with 81 additions and 78 deletions
|
|
@ -29,7 +29,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.actual.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${dataDirectory}" = {
|
||||
owner.name = "actual";
|
||||
group.name = "actual";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.bazarr.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${bazarr_data_directory}" = {
|
||||
owner.name = "bazarr";
|
||||
group.name = "bazarr";
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.crab-hole.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${workingDirectory}" = {
|
||||
owner.name = "crab-hole";
|
||||
group.name = "crab-hole";
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.fail2ban.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${dataFolder}" = {
|
||||
owner.name = "fail2ban";
|
||||
group.name = "fail2ban";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.flaresolverr.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."/var/lib/flaresolverr" = {
|
||||
owner.name = "flaresolverr";
|
||||
group.name = "flaresolverr";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.forgejo.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${stateDir}" = {
|
||||
owner.name = "forgejo";
|
||||
group.name = "forgejo";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.home-assistant.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${configDir}" = {
|
||||
owner.name = "hass";
|
||||
group.name = "hass";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.immich.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${mediaLocation}" = {
|
||||
owner.name = "immich";
|
||||
group.name = "immich";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.jackett.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${jackett_data_directory}" = {
|
||||
owner.name = "jackett";
|
||||
group.name = "jackett";
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ in {
|
|||
})
|
||||
(lib.mkIf config.services.jellyfin.impermanence.enable {
|
||||
storage.impermanence.datasets = {
|
||||
"persist/system/root" = {
|
||||
"persist/replicate/system/root" = {
|
||||
directories = {
|
||||
"${jellyfin_data_directory}" = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.lidarr.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${lidarr_data_directory}" = {
|
||||
owner.name = "lidarr";
|
||||
group.name = "lidarr";
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ in {
|
|||
);
|
||||
}
|
||||
# (lib.mkIf config.host.impermanence.enable {
|
||||
# environment.persistence."/persist/system/root" = {
|
||||
# environment.persistence."/persist/replicate/system/root" = {
|
||||
# enable = true;
|
||||
# hideMounts = true;
|
||||
# directories = [
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.panoramax.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."/var/lib/panoramax" = {
|
||||
owner.name = "panoramax";
|
||||
group.name = "panoramax";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.paperless.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${dataDir}" = {
|
||||
owner.name = "paperless";
|
||||
group.name = "paperless";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.postgresql.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${dataDir}" = {
|
||||
owner.name = "postgres";
|
||||
group.name = "postgres";
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ in {
|
|||
lib.mkIf config.services.qbittorrent.impermanence.enable
|
||||
{
|
||||
storage.impermanence.datasets = {
|
||||
"persist/system/root" = {
|
||||
"persist/replicate/system/root" = {
|
||||
directories."${qbittorent_profile_directory}" = {
|
||||
owner.name = "qbittorrent";
|
||||
group.name = "qbittorrent";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.radarr.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${radarr_data_directory}" = {
|
||||
owner.name = "radarr";
|
||||
group.name = "radarr";
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.reverseProxy.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${dataDir}" = {
|
||||
owner.name = "acme";
|
||||
group.name = "acme";
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in {
|
|||
# TODO: placeholder to configure a unique dataset for this service
|
||||
})
|
||||
(lib.mkIf config.services.sonarr.impermanence.enable {
|
||||
storage.impermanence.datasets."persist/system/root" = {
|
||||
storage.impermanence.datasets."persist/replicate/system/root" = {
|
||||
directories."${sonarr_data_directory}" = {
|
||||
owner.name = "sonarr";
|
||||
group.name = "sonarr";
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
systemd.services."wyoming-faster-whisper-en".serviceConfig.ProcSubset = lib.mkForce "all";
|
||||
}
|
||||
(lib.mkIf config.host.impermanence.enable {
|
||||
environment.persistence."/persist/system/root" = {
|
||||
environment.persistence."/persist/replicate/system/root" = {
|
||||
enable = true;
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue