about summary refs log tree commit diff
path: root/nixos/modules/services/video/unifi-video.nix
diff options
context:
space:
mode:
authorRoland Synnestvedt <contact@rsynnest.com>2022-03-26 17:53:26 -0700
committerRoland Synnestvedt <contact@rsynnest.com>2022-03-26 17:53:26 -0700
commitcb1c5dbb15f1c2f0802007c7ac661d371d00babf (patch)
treecc0571b1deaca704399f19180cfbcd600616db8d /nixos/modules/services/video/unifi-video.nix
parent350731a856a1d901b0d26f6c9892785a63f48e17 (diff)
downloadnixlib-cb1c5dbb15f1c2f0802007c7ac661d371d00babf.tar
nixlib-cb1c5dbb15f1c2f0802007c7ac661d371d00babf.tar.gz
nixlib-cb1c5dbb15f1c2f0802007c7ac661d371d00babf.tar.bz2
nixlib-cb1c5dbb15f1c2f0802007c7ac661d371d00babf.tar.lz
nixlib-cb1c5dbb15f1c2f0802007c7ac661d371d00babf.tar.xz
nixlib-cb1c5dbb15f1c2f0802007c7ac661d371d00babf.tar.zst
nixlib-cb1c5dbb15f1c2f0802007c7ac661d371d00babf.zip
nixos/unifi-video: convert int to string in default command
Diffstat (limited to 'nixos/modules/services/video/unifi-video.nix')
-rw-r--r--nixos/modules/services/video/unifi-video.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/video/unifi-video.nix b/nixos/modules/services/video/unifi-video.nix
index 43208a9fe4cf..366a7111fde4 100644
--- a/nixos/modules/services/video/unifi-video.nix
+++ b/nixos/modules/services/video/unifi-video.nix
@@ -16,7 +16,7 @@ let
     -pidfile ${cfg.pidFile} \
     -procname unifi-video \
     -Djava.security.egd=file:/dev/./urandom \
-    -Xmx${cfg.maximumJavaHeapSize}M \
+    -Xmx${toString cfg.maximumJavaHeapSize}M \
     -Xss512K \
     -XX:+UseG1GC \
     -XX:+UseStringDeduplication \