Change gitea for forgejo
Some checks are pending
/ Build Nix targets (push) Has started running

This commit is contained in:
Théo Barnouin 2025-01-29 10:21:24 +01:00
parent dbdb2036bf
commit f16b30710a
2 changed files with 21 additions and 5 deletions

View file

@ -105,16 +105,32 @@
}
];
};
template = nixpkgs.lib.nixosSystem {
forgejo = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
agenix.nixosModules.default
"${inputs.self}/systems/minimalVMConfig.nix"
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
"${inputs.self}/systems/minimalLXCConfig.nix"
"${inputs.self}/services"
{
networking.hostName = "nixos";
networking.hostName = "forgejo";
services.vm_forgejo = {
enable = true;
pgsql_ip = pgsql_host;
};
}
];
};
# template = nixpkgs.lib.nixosSystem {
# inherit system;
# modules = [
# agenix.nixosModules.default
# "${inputs.self}/systems/minimalVMConfig.nix"
# {
# networking.hostName = "nixos";
# }
# ];
# };
jellyfin = nixpkgs.lib.nixosSystem {
inherit system;
modules = [