summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-09-05 01:24:43 +0200
committertv <tv@krebsco.de>2020-09-05 01:30:00 +0200
commita5d4acd92b2eae8c8886103f1e5c3d122acf01cc (patch)
treed833b25e2d5c2c06c302c3d722efd3effe2840c5 /tv
parent6b248db017a4172f12a48d7cd253414f354d5bd9 (diff)
tv au: init
Diffstat (limited to 'tv')
-rw-r--r--tv/1systems/au/config.nix18
-rw-r--r--tv/1systems/au/disks.nix19
-rw-r--r--tv/2configs/nets/hkw.nix14
3 files changed, 50 insertions, 1 deletions
diff --git a/tv/1systems/au/config.nix b/tv/1systems/au/config.nix
new file mode 100644
index 00000000..fc4b216f
--- /dev/null
+++ b/tv/1systems/au/config.nix
@@ -0,0 +1,18 @@
+{ config, ... }: {
+ imports = [
+ ./disks.nix
+ <stockholm/tv>
+ <stockholm/tv/2configs/hw/x220.nix>
+ <stockholm/tv/2configs/retiolum.nix>
+ ];
+
+ krebs.build.host = config.krebs.hosts.au;
+
+ networking.wireless.enable = true;
+ networking.useDHCP = false;
+ networking.interfaces.enp0s25.useDHCP = true;
+ networking.interfaces.wlp3s0.useDHCP = true;
+ networking.interfaces.wwp0s29u1u4i6.useDHCP = true;
+
+ system.stateVersion = "20.03";
+}
diff --git a/tv/1systems/au/disks.nix b/tv/1systems/au/disks.nix
new file mode 100644
index 00000000..434de174
--- /dev/null
+++ b/tv/1systems/au/disks.nix
@@ -0,0 +1,19 @@
+{
+ boot.initrd.luks.devices.main.device = "/dev/sda2";
+ fileSystems."/" = {
+ device = "/dev/main/root";
+ options = ["defaults" "noatime" "commit=60"];
+ };
+ fileSystems."/boot" = {
+ device = "/dev/sda1";
+ options = ["defaults" "noatime"];
+ };
+ fileSystems."/bku" = {
+ device = "/dev/main/bku";
+ options = ["defaults" "noatime"];
+ };
+ fileSystems."/home" = {
+ device = "/dev/main/home";
+ options = ["defaults" "noatime" "commit=60"];
+ };
+}
diff --git a/tv/2configs/nets/hkw.nix b/tv/2configs/nets/hkw.nix
index 725e63b1..c3acde1f 100644
--- a/tv/2configs/nets/hkw.nix
+++ b/tv/2configs/nets/hkw.nix
@@ -2,6 +2,18 @@
krebs = {
dns.providers.hkw = "hosts";
hosts = {
+ au = {
+ nets.hkw = {
+ ip4 = {
+ addr = "10.23.1.39";
+ prefix = "10.23.1.0/24";
+ };
+ aliases = [
+ "au.hkw"
+ ];
+ ssh.port = 11423;
+ };
+ };
nomic = {
nets.hkw = {
ip4 = {
@@ -55,7 +67,7 @@
zu = {
nets.hkw = {
ip4 = {
- addr = "10.23.1.39";
+ addr = "10.23.1.40";
prefix = "10.23.1.0/24";
};
aliases = [