LXC config is imported in minimalConfig, enabled in flake.nix and proxmox-lxc.nix module is imported in flake

This commit is contained in:
Théo Barnouin 2024-10-16 15:37:45 +02:00
parent e29ce7840b
commit 4486f7bc2d
5 changed files with 14 additions and 10 deletions

View file

@ -98,12 +98,16 @@
nginx = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
"${inputs.self}/services"
{
networking.hostName = "nginx";
services.vm_nginx = {
enable = true;
};
services.ct = {
enable = true;
};
}
];
};
@ -131,12 +135,16 @@
redis = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
"${inputs.self}/services"
{
networking.hostName = "redis";
services.vm_redis = {
enable = true;
};
services.ct = {
enable = true;
};
}
];
};