Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

add(nixos configurations): led strip driver and pplib services #67

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: allow rgb service to restart as many times as needed
  • Loading branch information
Gavin-Niederman committed Mar 16, 2024

Verified

This commit was signed with the committer’s verified signature.
pdabelf5 Paul Abel
commit 14bb7019d21185037d82de256d39c4ce5177caeb
6 changes: 3 additions & 3 deletions coprocessors/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion coprocessors/hosts/copepod/default.nix
Original file line number Diff line number Diff line change
@@ -15,11 +15,16 @@
description = "RGB LED strip driver";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];

unitConfig = {
# Allow infinite restarts
StartLimitIntervalSec = "0";
};
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.rgb-2024}/bin/rgb-2024";
Restart = "on-failure";

RestartSec = 3;
};
};

Loading