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-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
|
||||||
|
|
|
@ -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;
|
||||||
# };
|
};
|
||||||
#};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue