diff options
| author | seth <[email protected]> | 2023-08-19 21:18:43 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-08-19 22:35:45 -0400 |
| commit | 3b59ee9c86ebbdadd81dd8f5940e19fdb9348d9a (patch) | |
| tree | 85c5792d199d489942cc3a3c90ebd3340105729d /hci.nix | |
| parent | d0e95ba2c00f6a87087823338543b4c9cba3f10b (diff) | |
docs: update readme
Diffstat (limited to 'hci.nix')
| -rw-r--r-- | hci.nix | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -0,0 +1,35 @@ +{ + inputs, + self, + ... +}: { + imports = [ + inputs.effects.flakeModule + ]; + + hercules-ci.flake-update = { + enable = true; + autoMergeMethod = "rebase"; + + flakes = { + ".".commitSummary = "flake: update inputs"; + }; + + when = { + minute = 0; + hour = [0]; + dayOfWeek = ["Sun"]; + }; + }; + + herculesCI = {lib, ...}: let + ciSystems = ["x86_64-linux" "aarch64-linux"]; + findCompatible = lib.filterAttrs (s: _: builtins.elem s ciSystems); + in { + inherit ciSystems; + + onPush.default.outputs = lib.mkForce { + packages = findCompatible self.packages; + }; + }; +} |
