Configuration of X11 i3wm tty

This commit is contained in:
2024-07-12 21:16:28 +02:00
parent 7e15fbad29
commit 616255d2c4
29 changed files with 907 additions and 7 deletions

8
network/00-wired.network Normal file
View File

@@ -0,0 +1,8 @@
[Match]
Name=en*
[Network]
DHCP=no
Address=192.168.0.2/24
Gateway=192.168.0.254

8
network/deploy.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
#Switch to the script directory
_BASENAME=$(basename "$0")
cd "$(dirname "$0")" || _exit 1
cp 00-wired.network /etc/systemd/network/00-wired.network
cp resolved.conf /etc/systemd/resolved.conf

38
network/resolved.conf Normal file
View File

@@ -0,0 +1,38 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/resolved.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config.
#
# See resolved.conf(5) for details.
[Resolve]
# Some examples of DNS servers which may be used for DNS= and FallbackDNS=:
# Cloudflare: 1.1.1.1#cloudflare-dns.com 1.0.0.1#cloudflare-dns.com 2606:4700:4700::1111#cloudflare-dns.com 2606:4700:4700::1001#cloudflare-dns.com
# Google: 8.8.8.8#dns.google 8.8.4.4#dns.google 2001:4860:4860::8888#dns.google 2001:4860:4860::8844#dns.google
# Quad9: 9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe#dns.quad9.net 2620:fe::9#dns.quad9.net
DNS=9.9.9.9
FallbackDNS=2001:41d0:303:20da::1 217.182.138.218
#FallbackDNS=1.1.1.1#cloudflare-dns.com 9.9.9.9#dns.quad9.net 8.8.8.8#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2620:fe::9#dns.quad9.net 2001:4860:4860::8888#dns.google
Domains=.
#DNSSEC=no
#DNSOverTLS=no
#MulticastDNS=yes
#LLMNR=no
Cache=no
#CacheFromLocalhost=no
#DNSStubListener=yes
#DNSStubListenerExtra=
#ReadEtcHosts=yes
#ResolveUnicastSingleLabel=no
#StaleRetentionSec=0