add comin

This commit is contained in:
xqtc 2024-11-02 00:28:05 +01:00
parent 632bd72c88
commit ce1ca48877
Signed by: xqtc
GPG key ID: 2C064D095926D9D1
4 changed files with 27 additions and 4 deletions

View file

@ -7,6 +7,10 @@
nixpkgs-master.url = "github:NixOS/nixpkgs/master"; nixpkgs-master.url = "github:NixOS/nixpkgs/master";
apple-silicon.url = "github:tpwrules/nixos-apple-silicon"; apple-silicon.url = "github:tpwrules/nixos-apple-silicon";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
comin = {
url = "github:nlewo/comin";
inputs.nixpkgs.follows = "nixpkgs";
};
compose2nix = { compose2nix = {
url = "github:aksiksi/compose2nix"; url = "github:aksiksi/compose2nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -0,0 +1,18 @@
{
inputs,
pkgs,
lib,
config,
...
}: {
services.comin = {
enable = true;
remotes = [
{
name = "origin";
url = "https://gitlab.com/your/infra.git";
branches.main.name = "main";
}
];
};
}

View file

@ -9,6 +9,7 @@ with lib; {
./hardware-configuration.nix ./hardware-configuration.nix
./monitoring.nix ./monitoring.nix
./caddy.nix ./caddy.nix
./comin.nix
./jellyfin.nix ./jellyfin.nix
./calibre-web.nix ./calibre-web.nix
./transmission.nix ./transmission.nix