fix workout tracker url

This commit is contained in:
Joakim Repomaa
2025-02-08 22:52:51 +02:00
parent 7d63777170
commit f81f8b2a47
2 changed files with 13 additions and 4 deletions

6
flake.lock generated
View File

@@ -717,11 +717,11 @@
]
},
"locked": {
"lastModified": 1739047488,
"narHash": "sha256-XRidLinKPemmrWZbxFLJMV21Phc529Q6nfx/8HzwnRg=",
"lastModified": 1739053638,
"narHash": "sha256-pAJmNmRu2rwFOw6yNwLH1jZn7J1FQqKyfY7u63oi1io=",
"owner": "~repomaa",
"repo": "workout-sync",
"rev": "275adde9c83df8e6cd4eed091913faf0e6e05197",
"rev": "00a0f1ae718d0fdb5dea9c362658bb29f9eb3d78",
"type": "sourcehut"
},
"original": {

View File

@@ -31,7 +31,16 @@ in
ExecStart = "${workout-sync}/bin/workout-sync";
Restart = "always";
DynamicUser = true;
EnvironmentFile = "/var/secrets/workout-sync.env";
BindReadOnlyPaths = [
/run/systemd/resolve/stub-resolv.conf
/etc/ssl
/etc/static/ssl
/etc/resolv.conf
/etc/static/resolv.conf
/etc/nsswitch.conf
/etc/static/nsswitch.conf
/etc/hosts
];
};
wantedBy = [ "multi-user.target" ];
confinement.enable = true;