DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: c5d2eb0bc627f898be2fd002f6a457fbead4fcc6 nix-arta/lib/util.nix -rw-r--r-- 305 bytes
c5d2eb0bJonni Liljamo fix(flake): alejandra don't run always 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{...}: let
  hostNameToIPv4 = {
    "dns" = "10.1.2.3";
    "metrics" = "10.1.2.5";
    "proxy" = "10.1.2.10";
    "auth" = "10.1.2.12";
    "cloud" = "10.1.2.15";
    "alderaan" = "10.1.2.16";
    "social" = "10.1.2.17";
  };
  getIPv4 = hostName: hostNameToIPv4.${hostName};
in {
  getIPv4 = getIPv4;
}