modules/nixos: add comin

This commit is contained in:
zowoq 2024-03-16 11:52:48 +10:00
parent 47d6de1f1b
commit 7b83b7e285
4 changed files with 44 additions and 0 deletions
modules/nixos/common

View file

@ -0,0 +1,19 @@
{ inputs, lib, ... }:
{
imports = [
inputs.comin.nixosModules.comin
];
services.comin = {
enable = lib.mkDefault false;
remotes = [
{
url = "https://github.com/nix-community/infra.git";
name = "origin";
poller.period = 300; # every 5 minutes
branches.main.name = "master";
branches.testing.name = ""; # disable testing branch
}
];
};
}

View file

@ -2,6 +2,7 @@
{
imports = [
./auto-upgrade.nix
./comin.nix
../../shared/known-hosts.nix
../../shared/nix-daemon.nix
./reboot.nix