summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-28 12:02:29 +0200
committerlassulus <lassulus@lassul.us>2017-07-28 12:02:29 +0200
commit38810e7a2988deb6f360f2d7d020e3038c2e510a (patch)
tree40de0abd2b1396f010b7dd912a67b3c3aee6ea10 /lass
parent2eb168d33b3ddc7f260df0f467a4fc218e726305 (diff)
add host: daedalus
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/daedalus/config.nix35
-rw-r--r--lass/1systems/daedalus/source.nix4
2 files changed, 39 insertions, 0 deletions
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 = [
+ <stockholm/lass>
+ <stockholm/lass/2configs/hw/x220.nix>
+ <stockholm/lass/2configs/boot/stock-x220.nix>
+
+ <stockholm/lass/2configs/mouse.nix>
+ <stockholm/lass/2configs/retiolum.nix>
+ <stockholm/lass/2configs/git.nix>
+ <stockholm/lass/2configs/exim-retiolum.nix>
+ <stockholm/lass/2configs/baseX.nix>
+ <stockholm/lass/2configs/browsers.nix>
+ <stockholm/lass/2configs/programs.nix>
+ <stockholm/lass/2configs/fetchWallpaper.nix>
+ <stockholm/lass/2configs/backups.nix>
+ <stockholm/lass/2configs/games.nix>
+ ];
+
+ 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 <stockholm/lass/source.nix> {
+ name = "daedalus";
+ secure = true;
+}