enable photoprism on orbi

This commit is contained in:
Ingolf Wagner 2024-05-10 23:17:45 +02:00
parent 2a96cc02d3
commit 0aac16e831
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 16 additions and 13 deletions

View file

@ -13,7 +13,7 @@
./service-forgejo.nix ./service-forgejo.nix
./service-vaultwarden.nix ./service-vaultwarden.nix
./service-taskserver.nix ./service-taskserver.nix
#./service-photoprism.nix ./service-photoprism.nix
./nginx-ingolf-wagner-de.nix ./nginx-ingolf-wagner-de.nix
./nginx-wkd.nix ./nginx-wkd.nix

View file

@ -134,18 +134,18 @@ in
#"com.sun:auto-snapshot:monthly" = false; #"com.sun:auto-snapshot:monthly" = false;
}; };
}; };
#photoprism = { photoprism = {
# type = "zfs_fs"; type = "zfs_fs";
# mountpoint = "/var/lib/nixos-containers/photoprism"; mountpoint = "/var/lib/nixos-containers/photoprism";
# options = { options = {
# mountpoint = "legacy"; mountpoint = "legacy";
# compression = "lz4"; compression = "lz4";
# "com.sun:auto-snapshot:hourly" = toString true; "com.sun:auto-snapshot:hourly" = toString true;
# "com.sun:auto-snapshot:daily" = toString true; "com.sun:auto-snapshot:daily" = toString true;
# #"com.sun:auto-snapshot:weekly" = false; #"com.sun:auto-snapshot:weekly" = false;
# #"com.sun:auto-snapshot:monthly" = false; #"com.sun:auto-snapshot:monthly" = false;
# }; };
#}; };
}; };
}; };

View file

@ -6,6 +6,9 @@ let
in in
{ {
networking.firewall.interfaces.wg0.allowedTCPPorts = [ photoprismPort ];
# networking.firewall.interfaces.wg0.allowedUDPPorts = [ photoprismPort ];
containers.photoprism = { containers.photoprism = {
privateNetwork = false; privateNetwork = false;
autoStart = true; autoStart = true;