aboutsummaryrefslogtreecommitdiff
path: root/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/systemd/network/10-wlp3s0.network (renamed from etc/systemd/network/wlp3s0.network)1
-rw-r--r--etc/systemd/network/20-dummy1.netdev3
-rw-r--r--etc/systemd/network/20-dummy1.network3
-rw-r--r--etc/systemd/network/20-dummy3.netdev3
-rw-r--r--etc/systemd/network/20-dummy3.network3
-rw-r--r--etc/systemd/network/25-he-ipv6.netdev10
-rw-r--r--etc/systemd/network/25-he-ipv6.network8
-rw-r--r--etc/systemd/system/fix-f4-led.service11
8 files changed, 42 insertions, 0 deletions
diff --git a/etc/systemd/network/wlp3s0.network b/etc/systemd/network/10-wlp3s0.network
index 65dfd51..87f68cd 100644
--- a/etc/systemd/network/wlp3s0.network
+++ b/etc/systemd/network/10-wlp3s0.network
@@ -3,3 +3,4 @@ Name=wlp3s0
[Network]
DHCP=yes
+# Tunnel=he-ipv6
diff --git a/etc/systemd/network/20-dummy1.netdev b/etc/systemd/network/20-dummy1.netdev
new file mode 100644
index 0000000..318bb09
--- /dev/null
+++ b/etc/systemd/network/20-dummy1.netdev
@@ -0,0 +1,3 @@
+[NetDev]
+Name=dummy1
+Kind=dummy
diff --git a/etc/systemd/network/20-dummy1.network b/etc/systemd/network/20-dummy1.network
new file mode 100644
index 0000000..3ae219e
--- /dev/null
+++ b/etc/systemd/network/20-dummy1.network
@@ -0,0 +1,3 @@
+[Match]
+Name=dummy1
+Unmanaged=yes
diff --git a/etc/systemd/network/20-dummy3.netdev b/etc/systemd/network/20-dummy3.netdev
new file mode 100644
index 0000000..c9fa450
--- /dev/null
+++ b/etc/systemd/network/20-dummy3.netdev
@@ -0,0 +1,3 @@
+[NetDev]
+Name=dummy3
+Kind=dummy
diff --git a/etc/systemd/network/20-dummy3.network b/etc/systemd/network/20-dummy3.network
new file mode 100644
index 0000000..8c3a2e7
--- /dev/null
+++ b/etc/systemd/network/20-dummy3.network
@@ -0,0 +1,3 @@
+[Match]
+Name=dummy3
+Unmanaged=yes
diff --git a/etc/systemd/network/25-he-ipv6.netdev b/etc/systemd/network/25-he-ipv6.netdev
new file mode 100644
index 0000000..c2bf632
--- /dev/null
+++ b/etc/systemd/network/25-he-ipv6.netdev
@@ -0,0 +1,10 @@
+[NetDev]
+Name=he-ipv6
+Kind=sit
+MTUBytes=1480
+
+[Tunnel]
+Local=192.168.1.103
+Remote=216.66.22.2
+TTL=255
+Independent=true
diff --git a/etc/systemd/network/25-he-ipv6.network b/etc/systemd/network/25-he-ipv6.network
new file mode 100644
index 0000000..63b11b9
--- /dev/null
+++ b/etc/systemd/network/25-he-ipv6.network
@@ -0,0 +1,8 @@
+[Match]
+Name=he-ipv6
+
+[Network]
+Gateway=2001:470:7:384::1
+Address=2001:470:7:384::103/64
+Address=2001:470:8:385::103/64
+DNS=2001:470:20::2
diff --git a/etc/systemd/system/fix-f4-led.service b/etc/systemd/system/fix-f4-led.service
new file mode 100644
index 0000000..87ccb0f
--- /dev/null
+++ b/etc/systemd/system/fix-f4-led.service
@@ -0,0 +1,11 @@
+# Enable with
+# systemctl enable --now fix-f4-led.service
+[Unit]
+Description=Fix F4 LED on Thinkpad
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c "echo 0 > /sys/class/leds/platform::micmute/brightness"
+
+[Install]
+WantedBy=multi-user.target