keycloak: flakify

This commit is contained in:
Astro 2021-10-05 12:53:16 +02:00
parent 368c4a95a7
commit d8979a5eaf
2 changed files with 10 additions and 1 deletions

View File

@ -363,6 +363,14 @@
system = "x86_64-linux"; system = "x86_64-linux";
}; };
keycloak = nixosSystem' {
modules = [
./lib/lxc-container.nix
./hosts/containers/keycloak
];
system = "x86_64-linux";
};
}; };
nixosModule = import ./lib; nixosModule = import ./lib;

View File

@ -1,8 +1,9 @@
{ hostRegistry, config, ... }:
{ {
networking.hostName = "keycloak"; networking.hostName = "keycloak";
networking.useNetworkd = true; networking.useNetworkd = true;
networking.interfaces.eth0.ipv4.addresses = [{ networking.interfaces.eth0.ipv4.addresses = [{
address = "172.20.73.59"; address = hostRegistry.hosts.${config.networking.hostName}.ip4;
prefixLength = 26; prefixLength = 26;
}]; }];
networking.defaultGateway = "172.20.73.1"; networking.defaultGateway = "172.20.73.1";