nixos/systems/git/default.nix

25 lines
655 B
Nix
Raw Normal View History

2022-11-04 19:35:57 +01:00
{ custom, hostname }: { pkgs, ... }:
2022-11-03 15:24:37 +01:00
let
domain = "git.2li.ch";
in
2022-02-28 22:05:31 +01:00
{
imports = [
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/systems/raspi4" {
2022-02-28 22:05:31 +01:00
ip = "10.7.89.109";
2022-11-04 19:35:57 +01:00
inherit custom hostname;
2022-02-28 22:05:31 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/restic-server-mysql-client" {
2022-11-04 16:49:46 +01:00
path = "/home/andreas";
2022-11-10 00:25:15 +01:00
time = "00:30"; inherit custom;
2022-02-28 22:05:31 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/nginx-proxy" {
inherit custom domain;
2022-11-03 15:24:37 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/gitea" {
inherit custom domain;
2022-05-18 21:29:59 +02:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
"${custom.inputs.self}/modules/mariadb"
2022-02-28 22:05:31 +01:00
];
}