Move Gitea, Immich and Jellyfin data to the media

...drive
This commit is contained in:
Oliver Davies 2024-12-11 18:49:25 +00:00
parent 85933f169e
commit 84e9fd1424
3 changed files with 9 additions and 1 deletions

View file

@ -8,6 +8,8 @@ with lib;
config = mkIf config.features.homelab.gitea.enable {
services.gitea = {
enable = true;
group = "media";
stateDir = "/media/gitea";
settings = {
server = {

View file

@ -11,7 +11,11 @@ with lib;
options.features.homelab.immich.enable = mkEnableOption "Enable immich";
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 ];
};

View file

@ -9,6 +9,8 @@ with lib;
services.jellyfin = {
enable = true;
openFirewall = true;
group = "media";
configDir = "/media/jellyfin";
};
};
}