This commit is contained in:
parent
dbdb2036bf
commit
f16b30710a
2 changed files with 21 additions and 5 deletions
22
flake.nix
22
flake.nix
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue