{ flake, modulesPath, # config, ... }: let inherit (flake) inputs; inherit (inputs) self; in { imports = [ self.nixosModules.default "${modulesPath}/virtualisation/lxc-container.nix" ]; services.caddy = { enable = true; extraConfig = '' git.skdevstudios.com { reverse_proxy forgejo.incus:3000 } tofu.skdevstudios.com { reverse_proxy tofu.incus:9000 } # :3306 { # reverse_proxy 10.173.91.154:3306 # } # :3001 { # reverse_proxy 127.0.0.1:8889 # } # :8096 { # reverse_proxy 10.173.91.220:8096 # } ''; }; networking = { hostName = "caddy-tofu"; }; environment.systemPackages = [ ]; system.stateVersion = "25.05"; }