Compare commits

..

2 commits

Author SHA1 Message Date
3eca69140c reformat with updated nixfmt 2025-06-10 13:19:32 +02:00
38d2f702dd use deployed environment for launching nixops4 from the panel
this still needs more work to clean up fully
2025-06-10 13:19:32 +02:00

View file

@ -178,18 +178,12 @@ in
description = "${name} ASGI server"; description = "${name} ASGI server";
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
path = path = [
[ python-environment
python-environment manage-service
manage-service nix
] git
++ ( ];
with pkgs;
lib.makeBinPath [
nix
git
]
);
preStart = '' preStart = ''
# Auto-migrate on first run or if the package has changed # Auto-migrate on first run or if the package has changed
versionFile="/var/lib/${name}/package-version" versionFile="/var/lib/${name}/package-version"