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 {
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
group = "media";
|
||||
stateDir = "/media/gitea";
|
||||
|
||||
settings = {
|
||||
server = {
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
|
|
|
@ -9,6 +9,8 @@ with lib;
|
|||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
group = "media";
|
||||
configDir = "/media/jellyfin";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue