summaryrefslogtreecommitdiffstats
path: root/lass/1systems/xerxes/icarus/physical.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-08-02 17:04:39 +0200
committertv <tv@krebsco.de>2019-08-02 17:04:39 +0200
commit7c522820bd7858580567ab7d436f586ee5a139ce (patch)
tree92a448d08f4e34a5bfec172daed334ddd0c97049 /lass/1systems/xerxes/icarus/physical.nix
parentb92610eacb6c88fe28f46a91ee8697cb542ab6aa (diff)
parent2885fbd942163d733586cd966c76ccf9159ae208 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/1systems/xerxes/icarus/physical.nix')
-rw-r--r--lass/1systems/xerxes/icarus/physical.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/lass/1systems/xerxes/icarus/physical.nix b/lass/1systems/xerxes/icarus/physical.nix
new file mode 100644
index 000000000..e9e09bc05
--- /dev/null
+++ b/lass/1systems/xerxes/icarus/physical.nix
@@ -0,0 +1,25 @@
+{
+ imports = [
+ ./config.nix
+ <stockholm/lass/2configs/hw/x220.nix>
+ <stockholm/lass/2configs/boot/coreboot.nix>
+ ];
+
+ 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:a0:0c", NAME="wl0"
+ SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:71:cb:35", NAME="et0"
+ '';
+
+ services.thinkfan.enable = true;
+ services.tlp.extraConfig = ''
+ START_CHARGE_THRESH_BAT0=80
+ '';
+}