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";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path =
[
python-environment
manage-service
]
++ (
with pkgs;
lib.makeBinPath [
nix
git
]
);
path = [
python-environment
manage-service
nix
git
];
preStart = ''
# Auto-migrate on first run or if the package has changed
versionFile="/var/lib/${name}/package-version"