summaryrefslogtreecommitdiffstats
path: root/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
commitf825eff15119b41ee49cee8efc8dca48d54e4034 (patch)
tree164c4aeaa0655bf75f0568d358866a697736b34c /1systems/gum
parent760bb48601f0c037f2631ba195e3e31db60d4222 (diff)
ma nextgum.r: in preparation to move nextgum -> gum
Diffstat (limited to '1systems/gum')
-rw-r--r--1systems/gum/config.nix3
-rw-r--r--1systems/gum/hardware-config.nix2
2 files changed, 3 insertions, 2 deletions
diff --git a/1systems/gum/config.nix b/1systems/gum/config.nix
index 951ec0104..3dbf5da19 100644
--- a/1systems/gum/config.nix
+++ b/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/1systems/gum/hardware-config.nix b/1systems/gum/hardware-config.nix
index e83f94a9f..a40709169 100644
--- a/1systems/gum/hardware-config.nix
+++ b/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}"