From 014e135d97d6c135ae2aad60fbc5fe253632ed96 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 27 Jun 2015 17:54:44 +0200 Subject: machines/heinrich: Fix module option namespacing. The machine was using only configuration-internal options, which is why I missed it when I was introducing a common namespace. Still, the machine needs to be refactored, but right now I'm just going to give it a proper namespace in order to fix evaluation of the ISO images. Signed-off-by: aszlig --- machines/labnet/heinrich.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'machines/labnet') diff --git a/machines/labnet/heinrich.nix b/machines/labnet/heinrich.nix index 3eaddea5..64601314 100644 --- a/machines/labnet/heinrich.nix +++ b/machines/labnet/heinrich.nix @@ -21,8 +21,8 @@ let }; }; - internalIf = config.heinrich.internalInterface; - externalIf = config.heinrich.externalInterface; + internalIf = config.vuizvui.machines.heinrich.internalInterface; + externalIf = config.vuizvui.machines.heinrich.externalInterface; mkRouteConfig = name: cfg: { key = "routes-${name}"; @@ -45,7 +45,7 @@ let in { imports = mapAttrsToList mkRouteConfig routes; - options.heinrich = { + options.vuizvui.machines.heinrich = { internalInterface = mkOption { type = types.str; default = "enp7s0"; -- cgit 1.4.1