summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/gum
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
parent2f4f8a1a27ae1742dc412074d2a9294f367add84 (diff)
ma nextgum.r: in preparation to move nextgum -> gum
Diffstat (limited to 'makefu/1systems/gum')
-rw-r--r--makefu/1systems/gum/config.nix3
-rw-r--r--makefu/1systems/gum/hardware-config.nix2
2 files changed, 3 insertions, 2 deletions
diff --git a/makefu/1systems/gum/config.nix b/makefu/1systems/gum/config.nix
index 951ec0104..3dbf5da19 100644
--- a/makefu/1systems/gum/config.nix
+++ b/makefu/1systems/gum/config.nix
@@ -8,7 +8,6 @@ in {
imports = [
<stockholm/makefu>
./hardware-config.nix
- <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
<stockholm/makefu/2configs/headless.nix>
# <stockholm/makefu/2configs/smart-monitor.nix>
@@ -241,5 +240,5 @@ in {
nameservers = [ "8.8.8.8" ];
};
users.users.makefu.extraGroups = [ "download" "nginx" ];
-
+ boot.tmpOnTmpfs = true;
}
diff --git a/makefu/1systems/gum/hardware-config.nix b/makefu/1systems/gum/hardware-config.nix
index e83f94a9f..a40709169 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}"