Skip to content

Commit

Permalink
comin
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Mar 7, 2024
1 parent a6c946d commit d65dfc2
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 15 deletions.
21 changes: 21 additions & 0 deletions flake.lock

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

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
hercules-ci-agent.url = "github:hercules-ci/hercules-ci-agent";
hercules-ci-agent.inputs.flake-parts.follows = "flake-parts";
#hercules-ci-agent.inputs.nixpkgs.follows = "nixpkgs";

comin.url = "github:nlewo/comin";
comin.inputs.nixpkgs.follows = "nixpkgs";
};

outputs = inputs @ { flake-parts, self, ... }:
Expand Down
14 changes: 0 additions & 14 deletions modules/nixos/common/auto-upgrade.nix

This file was deleted.

20 changes: 20 additions & 0 deletions modules/nixos/common/comin.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{ inputs, ... }:
{
imports = [
inputs.comin.nixosModules.comin
];

services.comin = {
enable = true;
remotes = [
{
url = "https://github.com/nix-community/infra.git";
name = "origin";
poller.period = 300; # every 5 minutes
branches.main.name = "fail";
# No testing branch on this remote
branches.testing.name = "";
}
];
};
}
2 changes: 1 addition & 1 deletion modules/nixos/common/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ inputs, pkgs, ... }:
{
imports = [
./auto-upgrade.nix
./comin.nix
../../shared/nix-daemon.nix
./reboot.nix
./security.nix
Expand Down

0 comments on commit d65dfc2

Please sign in to comment.