format nix code
nixos config pipeline / show-flake (push) Successful in 27s
nixos config pipeline / deploy (push) Successful in 1m38s

This commit is contained in:
smayzy
2025-10-09 17:55:32 +02:00
parent e776e94484
commit d341c0c3f1
6 changed files with 444 additions and 365 deletions
+11 -9
View File
@@ -16,23 +16,25 @@ in
description = "ip addr e.g. (192.168.1.20)";
};
};
config = mkIf cfg.enable {
containers.httpd = {
autoStart = true;
privateNetwork = true;
hostBridge = net.bridge;
localAddress = cfg.ip;
config = { ... }: {
system.stateVersion = "25.11";
config =
{ ... }:
{
system.stateVersion = "25.11";
services.httpd = {
enable = true;
services.httpd = {
enable = true;
};
networking.defaultGateway = net.gateway;
networking.nameservers = net.dns;
networking.firewall.allowedTCPPorts = [ 80 ];
};
networking.defaultGateway = net.gateway;
networking.nameservers = net.dns;
networking.firewall.allowedTCPPorts = [ 80 ];
};
};
};
}