Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

fix: remove MemoryDenyWriteExecute from opengym-api systemd unit

gerrydoroe4e625b49f97
diff --git a/nix/opengym.nix b/nix/opengym.nix
old mode 100644
new mode 100755
index 2db9b72ed..3b9c40d24
--- a/nix/opengym.nix
+++ b/nix/opengym.nix
@@ -57,7 +57,7 @@ in
enable = lib.mkEnableOption "openGym self-hosted gym tracker";
package = lib.mkOption {
- type = lib.types.package;
+ type = lib.types.attrsOf lib.types.package;
default = opengymPkgs;
defaultText = lib.literalExpression "opengym packages built from source";
description = "openGym package set (typically the flake output).";
@@ -217,7 +217,6 @@ in
ProtectControlGroups = true;
RestrictNamespaces = true;
RestrictSUIDSGID = true;
- MemoryDenyWriteExecute = true;
LockPersonality = true;
SystemCallFilter = [
"@system-service"