Skip to content

Commit

Permalink
fix πŸ›: ossync svc
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Hang <[email protected]>
  • Loading branch information
Banh-Canh committed Jan 16, 2025
1 parent 2d86b60 commit 9c0c64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixosModules/ginx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let
echo Running ginx...
${ginx}/bin/ginx --source https://github.com/didactiklabs/nixOs-server -b main --now -- ${pkgs.colmena}/bin/colmena apply-local --sudo
'';
ossync = pkgs.writeShellScriptBin "osupdate" ''
ossync = pkgs.writeShellScriptBin "ossync" ''
set -euo pipefail
if [ "$(${pkgs.jq}/bin/jq .rev /etc/nixos/version)" != "$(${pkgs.git}/bin/git ls-remote https://github.com/didactiklabs/nixOs-server HEAD | awk '{print $1}')" ]; then
${osupdate}/bin/osupdate
Expand Down

0 comments on commit 9c0c64c

Please sign in to comment.