diff --git a/nix/nixos-module/server/lxc-containers.nix b/nix/nixos-module/server/lxc-containers.nix index a7cd177..7d15833 100644 --- a/nix/nixos-module/server/lxc-containers.nix +++ b/nix/nixos-module/server/lxc-containers.nix @@ -14,6 +14,10 @@ let shortenNetName = name: if builtins.match "priv(.*)" name != null then "p" + builtins.substring 4 9 name + else if name == "coloradio" + then "cr" + else if name == "coloradio-gw" + then "cr-gw" else name; checkIfname = ifname: let