summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/gum/hardware-config.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-06-24 23:45:48 +0200
committermakefu <github@syntax-fehler.de>2018-06-24 23:47:08 +0200
commit6ddad27d009181ca2cc8ae2ad20715477e604fd6 (patch)
tree7aee48ed940e97c6b1539e704bfee0683ebd974a /makefu/1systems/gum/hardware-config.nix
parent2f4f8a1a27ae1742dc412074d2a9294f367add84 (diff)
ma nextgum.r: in preparation to move nextgum -> gum
Diffstat (limited to 'makefu/1systems/gum/hardware-config.nix')
-rw-r--r--makefu/1systems/gum/hardware-config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefu/1systems/gum/hardware-config.nix b/makefu/1systems/gum/hardware-config.nix
index e83f94a9..a4070916 100644
--- a/makefu/1systems/gum/hardware-config.nix
+++ b/makefu/1systems/gum/hardware-config.nix
@@ -17,8 +17,10 @@ let
ext-if = "et0"; # gets renamed on the fly
in {
imports = [
+ <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
<stockholm/makefu/2configs/fs/single-partition-ext4.nix>
];
+
makefu.server.primary-itf = ext-if;
services.udev.extraRules = ''
SUBSYSTEM=="net", ATTR{address}=="${external-mac}", NAME="${ext-if}"