nixos/systems/git/default.nix

27 lines
525 B
Nix
Raw Normal View History

2023-05-29 16:21:23 +02:00
{ hostname }: { inputs, pkgs, ... }:
2022-11-03 15:24:37 +01:00
let
domain = "git.2li.ch";
in
2022-02-28 22:05:31 +01:00
{
imports = [
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/systems/raspi4" {
2022-02-28 22:05:31 +01:00
ip = "10.7.89.109";
2023-05-29 16:21:23 +02:00
inherit hostname;
2022-02-28 22:05:31 +01:00
})
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/modules/restic-client-server-mysql" {
2022-11-04 16:49:46 +01:00
path = "/home/andreas";
2023-05-29 16:21:23 +02:00
time = "00:30";
2022-02-28 22:05:31 +01:00
})
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/modules/nginx-proxy" {
inherit domain;
2022-11-03 15:24:37 +01:00
})
2023-05-29 16:21:23 +02:00
"${inputs.self}/modules/mariadb"
2022-02-28 22:05:31 +01:00
];
2023-06-05 15:07:16 +02:00
services = {
az-gitea = {
enable = true;
domain = domain;
};
};
2022-02-28 22:05:31 +01:00
}