enable photoprism on orbi
This commit is contained in:
parent
2a96cc02d3
commit
0aac16e831
3 changed files with 16 additions and 13 deletions
|
@ -13,7 +13,7 @@
|
|||
./service-forgejo.nix
|
||||
./service-vaultwarden.nix
|
||||
./service-taskserver.nix
|
||||
#./service-photoprism.nix
|
||||
./service-photoprism.nix
|
||||
|
||||
./nginx-ingolf-wagner-de.nix
|
||||
./nginx-wkd.nix
|
||||
|
|
|
@ -134,18 +134,18 @@ in
|
|||
#"com.sun:auto-snapshot:monthly" = false;
|
||||
};
|
||||
};
|
||||
#photoprism = {
|
||||
# type = "zfs_fs";
|
||||
# mountpoint = "/var/lib/nixos-containers/photoprism";
|
||||
# options = {
|
||||
# mountpoint = "legacy";
|
||||
# compression = "lz4";
|
||||
# "com.sun:auto-snapshot:hourly" = toString true;
|
||||
# "com.sun:auto-snapshot:daily" = toString true;
|
||||
# #"com.sun:auto-snapshot:weekly" = false;
|
||||
# #"com.sun:auto-snapshot:monthly" = false;
|
||||
# };
|
||||
#};
|
||||
photoprism = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/var/lib/nixos-containers/photoprism";
|
||||
options = {
|
||||
mountpoint = "legacy";
|
||||
compression = "lz4";
|
||||
"com.sun:auto-snapshot:hourly" = toString true;
|
||||
"com.sun:auto-snapshot:daily" = toString true;
|
||||
#"com.sun:auto-snapshot:weekly" = false;
|
||||
#"com.sun:auto-snapshot:monthly" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -6,6 +6,9 @@ let
|
|||
in
|
||||
{
|
||||
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [ photoprismPort ];
|
||||
# networking.firewall.interfaces.wg0.allowedUDPPorts = [ photoprismPort ];
|
||||
|
||||
containers.photoprism = {
|
||||
privateNetwork = false;
|
||||
autoStart = true;
|
||||
|
|
Loading…
Reference in a new issue