Move Gitea, Immich and Jellyfin data to the media
...drive
This commit is contained in:
parent
85933f169e
commit
84e9fd1424
|
@ -8,6 +8,8 @@ with lib;
|
||||||
config = mkIf config.features.homelab.gitea.enable {
|
config = mkIf config.features.homelab.gitea.enable {
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
group = "media";
|
||||||
|
stateDir = "/media/gitea";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
|
|
|
@ -11,7 +11,11 @@ with lib;
|
||||||
options.features.homelab.immich.enable = mkEnableOption "Enable immich";
|
options.features.homelab.immich.enable = mkEnableOption "Enable immich";
|
||||||
|
|
||||||
config = mkIf config.features.homelab.immich.enable {
|
config = mkIf config.features.homelab.immich.enable {
|
||||||
services.immich.enable = true;
|
services.immich = {
|
||||||
|
enable = true;
|
||||||
|
group = "media";
|
||||||
|
mediaLocation = "/media/immich";
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.immich-cli ];
|
environment.systemPackages = [ pkgs.immich-cli ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,6 +9,8 @@ with lib;
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
group = "media";
|
||||||
|
configDir = "/media/jellyfin";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue