modules/nixos: add comin
This commit is contained in:
parent
47d6de1f1b
commit
7b83b7e285
4 changed files with 44 additions and 0 deletions
modules/nixos/common
19
modules/nixos/common/comin.nix
Normal file
19
modules/nixos/common/comin.nix
Normal 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
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./auto-upgrade.nix
|
||||
./comin.nix
|
||||
../../shared/known-hosts.nix
|
||||
../../shared/nix-daemon.nix
|
||||
./reboot.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue