Skip to content

Commit

Permalink
Fix service package
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Dec 5, 2024
1 parent 1da78f2 commit 56480cb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions aon/raspberry-pi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@
serviceConfig = {
ExecStart = let
homeDir = config.users.users.${user}.home;
dna = self.outputs.packages."x86_64-linux".messenger_demo_dna;
in "${
inputs.aons.outputs.packages."aarch64-linux".always-online-node
}/bin/always-only-node ${dna} --data-dir ${homeDir}";
aon =
inputs.aons.outputs.builders."aarch64-linux".aon-for-dna {
dna_bundle =
self.outputs.packages."x86_64-linux".messenger_demo_dna;
};
in "${aon}/bin/always-only-node --data-dir ${homeDir}";
Restart = "always";
RestartSec = 10;
};
Expand Down

0 comments on commit 56480cb

Please sign in to comment.