From 38810e7a2988deb6f360f2d7d020e3038c2e510a Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 28 Jul 2017 12:02:29 +0200 Subject: add host: daedalus --- lass/1systems/daedalus/config.nix | 35 +++++++++++++++++++++++++++++++++++ lass/1systems/daedalus/source.nix | 4 ++++ 2 files changed, 39 insertions(+) create mode 100644 lass/1systems/daedalus/config.nix create mode 100644 lass/1systems/daedalus/source.nix (limited to 'lass/1systems/daedalus') diff --git a/lass/1systems/daedalus/config.nix b/lass/1systems/daedalus/config.nix new file mode 100644 index 000000000..290d8a780 --- /dev/null +++ b/lass/1systems/daedalus/config.nix @@ -0,0 +1,35 @@ +{ config, pkgs, ... }: + +{ + imports = [ + + + + + + + + + + + + + + + ]; + + krebs.build.host = config.krebs.hosts.daedalus; + + fileSystems = { + "/bku" = { + device = "/dev/mapper/pool-bku"; + fsType = "btrfs"; + options = ["defaults" "noatime" "ssd" "compress=lzo"]; + }; + }; + + services.udev.extraRules = '' + SUBSYSTEM=="net", ATTR{address}=="00:24:d7:f0:e8:c8", NAME="wl0" + SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:8f:8a:78", NAME="et0" + ''; +} diff --git a/lass/1systems/daedalus/source.nix b/lass/1systems/daedalus/source.nix new file mode 100644 index 000000000..a15ac80c2 --- /dev/null +++ b/lass/1systems/daedalus/source.nix @@ -0,0 +1,4 @@ +import { + name = "daedalus"; + secure = true; +} -- cgit v1.2.3