proper mountpoint testing
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
service_configs,
|
||||
username,
|
||||
@@ -7,7 +8,7 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(serviceMountDeps "gitea" [ config.services.gitea.stateDir ])
|
||||
(serviceMountDeps "gitea" [ config.services.gitea.stateDir ] pkgs)
|
||||
];
|
||||
|
||||
services.gitea = {
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(serviceMountDeps "immich-server" [ config.services.immich.mediaLocation ])
|
||||
(serviceMountDeps "immich-machine-learning" [ config.services.immich.mediaLocation ])
|
||||
(serviceMountDeps "immich-server" [ config.services.immich.mediaLocation ] pkgs)
|
||||
(serviceMountDeps "immich-machine-learning" [ config.services.immich.mediaLocation ] pkgs)
|
||||
];
|
||||
|
||||
services.immich = {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
(serviceMountDeps "jellyfin" [
|
||||
config.services.jellyfin.dataDir
|
||||
config.services.jellyfin.cacheDir
|
||||
])
|
||||
] pkgs)
|
||||
];
|
||||
|
||||
services.jellyfin = {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
imports = [
|
||||
(serviceMountDeps "minecraft-server-${service_configs.minecraft.server_name}" [
|
||||
"${service_configs.minecraft.parent_dir}/${service_configs.minecraft.server_name}"
|
||||
])
|
||||
] pkgs)
|
||||
];
|
||||
|
||||
environment.systemPackages = [
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(serviceMountDeps "postgresql" [ config.services.postgresql.dataDir ])
|
||||
(serviceMountDeps "postgresql" [ config.services.postgresql.dataDir ] pkgs)
|
||||
];
|
||||
|
||||
services.postgresql = {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
service_configs.torrents_path
|
||||
config.services.qbittorrent.serverConfig.Preferences.Downloads.TempPath
|
||||
"/var/lib/qBittorrent/qBittorrent"
|
||||
])
|
||||
] pkgs)
|
||||
];
|
||||
|
||||
# network namespace that is proxied through mullvad
|
||||
|
||||
@@ -16,7 +16,7 @@ in
|
||||
service_configs.slskd.base
|
||||
# service_configs.slskd.downloads
|
||||
# service_configs.slskd.incomplete
|
||||
])
|
||||
] pkgs)
|
||||
];
|
||||
|
||||
users.groups."music" = { };
|
||||
|
||||
Reference in New Issue
Block a user