From 21d2bd0a3bebcec2cf6adab854d96196f59463ce Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 22 Aug 2022 15:04:00 +0200 Subject: update --- swift/boot/loader/entries/arch.conf | 5 +++++ swift/boot/loader/entries/arch2.conf | 7 +++++++ swift/boot/loader/loader.conf | 3 +++ swift/etc/X11/xorg.conf.d/10-input.conf | 6 ++++++ swift/etc/X11/xorg.conf.d/10-keyboard.conf | 6 ++++++ swift/etc/X11/xorg.conf.d/20-intel.conf | 4 ++++ swift/etc/fstab | 14 ++++++++++++++ swift/etc/qemu/bridge.conf | 1 + swift/etc/systemd/network/20-wired.network | 8 ++++++++ swift/etc/systemd/network/25-wireless.network | 8 ++++++++ swift/etc/systemd/network/bind.network | 5 +++++ swift/etc/systemd/network/bridge.netdev | 4 ++++ swift/etc/systemd/network/bridge.network | 5 +++++ swift/etc/systemd/resolved.conf | 3 +++ 14 files changed, 79 insertions(+) create mode 100755 swift/boot/loader/entries/arch.conf create mode 100755 swift/boot/loader/entries/arch2.conf create mode 100755 swift/boot/loader/loader.conf create mode 100644 swift/etc/X11/xorg.conf.d/10-input.conf create mode 100644 swift/etc/X11/xorg.conf.d/10-keyboard.conf create mode 100644 swift/etc/X11/xorg.conf.d/20-intel.conf create mode 100644 swift/etc/fstab create mode 100644 swift/etc/qemu/bridge.conf create mode 100644 swift/etc/systemd/network/20-wired.network create mode 100644 swift/etc/systemd/network/25-wireless.network create mode 100644 swift/etc/systemd/network/bind.network create mode 100644 swift/etc/systemd/network/bridge.netdev create mode 100644 swift/etc/systemd/network/bridge.network create mode 100644 swift/etc/systemd/resolved.conf (limited to 'swift') diff --git a/swift/boot/loader/entries/arch.conf b/swift/boot/loader/entries/arch.conf new file mode 100755 index 0000000..5392c64 --- /dev/null +++ b/swift/boot/loader/entries/arch.conf @@ -0,0 +1,5 @@ +title Yoda Arch Linux +linux /vmlinuz-linux +initrd /intel-ucode.img +initrd /initramfs-linux.img +options root=/dev/disk/by-uuid/8c89d665-a17b-47da-aa19-4c855f134d54 net.ifnames=0 rw acpi_osi=Linux acpi_backlight=video diff --git a/swift/boot/loader/entries/arch2.conf b/swift/boot/loader/entries/arch2.conf new file mode 100755 index 0000000..69d70b6 --- /dev/null +++ b/swift/boot/loader/entries/arch2.conf @@ -0,0 +1,7 @@ +title Yoda2 Arch Linux +linux /vmlinuz-linux +initrd /intel-ucode.img +initrd /initramfs-linux.img +#options root=/dev/disk/by-uuid/8c89d665-a17b-47da-aa19-4c855f134d54 net.ifnames=0 rw acpi_osi=Linux acpi_backlight=video +options root=/dev/disk/by-uuid/fd0bd5d9-abfd-46e2-bbec-cc5042c19507 net.ifnames=0 rw acpi_osi=Linux acpi_backlight=video +#options root=/dev/disk/by-uuid/fd0bd5d9-abfd-46e2-bbec-cc5042c19507 net.ifnames=0 rw acpi_osi=Linux acpi_backlight=video snd_sof_intel_hda_common.hda_model=alc255-acer diff --git a/swift/boot/loader/loader.conf b/swift/boot/loader/loader.conf new file mode 100755 index 0000000..340ea34 --- /dev/null +++ b/swift/boot/loader/loader.conf @@ -0,0 +1,3 @@ +default arch2 +timeout 4 +console-mode max diff --git a/swift/etc/X11/xorg.conf.d/10-input.conf b/swift/etc/X11/xorg.conf.d/10-input.conf new file mode 100644 index 0000000..d719095 --- /dev/null +++ b/swift/etc/X11/xorg.conf.d/10-input.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "HP 3 button mouse" + Driver "libinput" + Option "ScrollMethod" "button" + Option "ScrollButton" "2" +EndSection diff --git a/swift/etc/X11/xorg.conf.d/10-keyboard.conf b/swift/etc/X11/xorg.conf.d/10-keyboard.conf new file mode 100644 index 0000000..131f8f3 --- /dev/null +++ b/swift/etc/X11/xorg.conf.d/10-keyboard.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "Keyboard Defaults" + MatchIsKeyboard "yes" + Option "XkbLayout" "fr" + Option "XkbOptions" "caps:super,altwin:menu_win" +EndSection diff --git a/swift/etc/X11/xorg.conf.d/20-intel.conf b/swift/etc/X11/xorg.conf.d/20-intel.conf new file mode 100644 index 0000000..28e460c --- /dev/null +++ b/swift/etc/X11/xorg.conf.d/20-intel.conf @@ -0,0 +1,4 @@ +Section "ServerLayout" + Identifier "Main" + Option "Xinerama" "0" +EndSection diff --git a/swift/etc/fstab b/swift/etc/fstab new file mode 100644 index 0000000..00d3167 --- /dev/null +++ b/swift/etc/fstab @@ -0,0 +1,14 @@ +# /dev/nvme1n1p5 +UUID=fd0bd5d9-abfd-46e2-bbec-cc5042c19507 / xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 1 + +# /dev/nvme1n1p1 +UUID=120F-B472 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2 + +# /dev/nvme1n1p3 +UUID=E23C1C4C3C1C1DDB /mnt/windows ntfs-3g gid=1000,uid=1000,dmask=022,fmask=133,noauto 0 0 + +# /dev/nvme0n1p1 +UUID=8c89d665-a17b-47da-aa19-4c855f134d54 /data xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 2 + +# Sony walkman NW-A55L external flash +/dev/sdb1 /mnt/sdb1 exfat noauto,gid=20,uid=501,dmask=002,fmask=113 0 0 diff --git a/swift/etc/qemu/bridge.conf b/swift/etc/qemu/bridge.conf new file mode 100644 index 0000000..a573665 --- /dev/null +++ b/swift/etc/qemu/bridge.conf @@ -0,0 +1 @@ +allow virbr0 diff --git a/swift/etc/systemd/network/20-wired.network b/swift/etc/systemd/network/20-wired.network new file mode 100644 index 0000000..9ac4295 --- /dev/null +++ b/swift/etc/systemd/network/20-wired.network @@ -0,0 +1,8 @@ +[Match] +Name=e* + +[Network] +DHCP=ipv4 + +[DHCP] +RouteMetric=10 diff --git a/swift/etc/systemd/network/25-wireless.network b/swift/etc/systemd/network/25-wireless.network new file mode 100644 index 0000000..3bb9c39 --- /dev/null +++ b/swift/etc/systemd/network/25-wireless.network @@ -0,0 +1,8 @@ +[Match] +Name=wl* + +[Network] +DHCP=ipv4 + +[DHCP] +RouteMetric=20 diff --git a/swift/etc/systemd/network/bind.network b/swift/etc/systemd/network/bind.network new file mode 100644 index 0000000..c0313fe --- /dev/null +++ b/swift/etc/systemd/network/bind.network @@ -0,0 +1,5 @@ +[Match] +Name=wl* + +[Network] +Bridge=br0 diff --git a/swift/etc/systemd/network/bridge.netdev b/swift/etc/systemd/network/bridge.netdev new file mode 100644 index 0000000..fe9c2ad --- /dev/null +++ b/swift/etc/systemd/network/bridge.netdev @@ -0,0 +1,4 @@ +[NetDev] +Name=br0 +Kind=bridge +MACAddress=3c:f0:11:73:77:51 diff --git a/swift/etc/systemd/network/bridge.network b/swift/etc/systemd/network/bridge.network new file mode 100644 index 0000000..684ce83 --- /dev/null +++ b/swift/etc/systemd/network/bridge.network @@ -0,0 +1,5 @@ +[Match] +Name=br0 + +[Network] +Address=10.0.2.1/24 diff --git a/swift/etc/systemd/resolved.conf b/swift/etc/systemd/resolved.conf new file mode 100644 index 0000000..186c2ec --- /dev/null +++ b/swift/etc/systemd/resolved.conf @@ -0,0 +1,3 @@ +[Resolve] +DNSSEC=no +DNSOverTLS=no -- cgit v1.2.3 From 56c37d482ac00e003690605ff3d50fb0528322c5 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 22 Aug 2022 16:18:05 +0200 Subject: update --- swift/etc/X11/xorg.conf.d/10-input.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'swift') diff --git a/swift/etc/X11/xorg.conf.d/10-input.conf b/swift/etc/X11/xorg.conf.d/10-input.conf index d719095..ae48884 100644 --- a/swift/etc/X11/xorg.conf.d/10-input.conf +++ b/swift/etc/X11/xorg.conf.d/10-input.conf @@ -3,4 +3,5 @@ Section "InputClass" Driver "libinput" Option "ScrollMethod" "button" Option "ScrollButton" "2" + Option "NaturalScrolling" "on" EndSection -- cgit v1.2.3 From 55b6de7eb5ad16ddcd293cb2d717d327c5c15e77 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Thu, 25 Aug 2022 09:00:13 +0200 Subject: update --- swift/etc/udev/rules.d/95-hdmi-plug.rules | 5 +++++ swift/etc/udev/rules.d/hdmi.rules | 1 + 2 files changed, 6 insertions(+) create mode 100644 swift/etc/udev/rules.d/95-hdmi-plug.rules create mode 100644 swift/etc/udev/rules.d/hdmi.rules (limited to 'swift') diff --git a/swift/etc/udev/rules.d/95-hdmi-plug.rules b/swift/etc/udev/rules.d/95-hdmi-plug.rules new file mode 100644 index 0000000..465eada --- /dev/null +++ b/swift/etc/udev/rules.d/95-hdmi-plug.rules @@ -0,0 +1,5 @@ +ACTION=="change", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" + +ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="25a4", ATTRS{idProduct}=="9311", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" + +ACTION=="remove", SUBSYSTEMS=="usb", ATTRS{idVendor}=="25a4", ATTRS{idProduct}=="9311", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" diff --git a/swift/etc/udev/rules.d/hdmi.rules b/swift/etc/udev/rules.d/hdmi.rules new file mode 100644 index 0000000..ec06147 --- /dev/null +++ b/swift/etc/udev/rules.d/hdmi.rules @@ -0,0 +1 @@ +KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" -- cgit v1.2.3 From bbe7b2670d2900dfdd260447b5d79eead21427d7 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Thu, 25 Aug 2022 17:41:44 +0200 Subject: update --- swift/etc/modprobe.d/swift5.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 swift/etc/modprobe.d/swift5.conf (limited to 'swift') diff --git a/swift/etc/modprobe.d/swift5.conf b/swift/etc/modprobe.d/swift5.conf new file mode 100644 index 0000000..bda0f22 --- /dev/null +++ b/swift/etc/modprobe.d/swift5.conf @@ -0,0 +1,10 @@ +#options snd_hda_intel model=dell-headset-multi +#options snd_hda_intel power_save=1 +#options snd-intel-dspcfg dsp_driver=1 +options snd_sof_intel_hda_common hda_model=alc255-acer + +options i915 enable_fbc=1 +options i915 enable_psr=1 disable_power_well=0 +options i915 modeset=1 + +#blacklist snd_soc_skl -- cgit v1.2.3 From d30fd8ea96799196035cb53a1374a50dd967fedf Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 3 Oct 2022 13:24:45 +0200 Subject: update --- swift/etc/nsswitch.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 swift/etc/nsswitch.conf (limited to 'swift') diff --git a/swift/etc/nsswitch.conf b/swift/etc/nsswitch.conf new file mode 100644 index 0000000..392c640 --- /dev/null +++ b/swift/etc/nsswitch.conf @@ -0,0 +1,19 @@ +# Name Service Switch configuration file. +# See nsswitch.conf(5) for details. + +passwd: files systemd +group: files [SUCCESS=merge] systemd +shadow: files + +publickey: files + +# hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns +hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns +networks: files + +protocols: files +services: files +ethers: files +rpc: files + +netgroup: files -- cgit v1.2.3 From 5ea00546c6ee925235226871ab76ce9b08981029 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 4 Oct 2022 20:26:49 +0200 Subject: update --- swift/etc/resolv.conf | 1 + 1 file changed, 1 insertion(+) create mode 100644 swift/etc/resolv.conf (limited to 'swift') diff --git a/swift/etc/resolv.conf b/swift/etc/resolv.conf new file mode 100644 index 0000000..a336b7f --- /dev/null +++ b/swift/etc/resolv.conf @@ -0,0 +1 @@ +nameserver 9.9.9.9 -- cgit v1.2.3 From 0ef432a3c4a933016eccee7ddeddf77bd4955746 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 9 Oct 2022 12:33:42 +0200 Subject: update --- swift/etc/backupignore | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 swift/etc/backupignore (limited to 'swift') diff --git a/swift/etc/backupignore b/swift/etc/backupignore new file mode 100644 index 0000000..693cfa4 --- /dev/null +++ b/swift/etc/backupignore @@ -0,0 +1,32 @@ +# file patterns to be excluded from backup +/backup +.history/ +.cache/ +.cargo/ +.rustup/ +.npm/ +Cache/ +cache/ +GPUCache +CacheStorage +go/pkg/ +keybase/ +sdk/ +tmp/ +kernel-build/ +kernel-build.old/ +.xsession-errors +/var/lib/docker +/var/lib/flatpak +/var/lib/systemd/coredump/ +.config/chromium/ +.config/discord/ +.config/Slack/ +.config/Signal/ +.config/spotify/ +.mozilla/firefox/ +.thunderbird/xgfazjt1.default/ImapMail/ +.thunderbird/xgfazjt1.default/global-messages-db.sqlite +*.journal +*.log +*.o -- cgit v1.2.3 From 9dcf9d6a3fa8203cef7d57c8e811b300d4ecc97d Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 11 Dec 2022 17:53:36 +0100 Subject: update --- swift/etc/sudoers.d/01_marc | 1 + 1 file changed, 1 insertion(+) create mode 100644 swift/etc/sudoers.d/01_marc (limited to 'swift') diff --git a/swift/etc/sudoers.d/01_marc b/swift/etc/sudoers.d/01_marc new file mode 100644 index 0000000..9ae91f4 --- /dev/null +++ b/swift/etc/sudoers.d/01_marc @@ -0,0 +1 @@ +marc ALL=(ALL) NOPASSWD: ALL -- cgit v1.2.3 From 0a215cad87338787410af0df999d41c14f00c9e0 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 14 Jan 2023 18:32:46 +0100 Subject: update --- swift/etc/smtpd/smtpd.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 swift/etc/smtpd/smtpd.conf (limited to 'swift') diff --git a/swift/etc/smtpd/smtpd.conf b/swift/etc/smtpd/smtpd.conf new file mode 100644 index 0000000..ac4dabf --- /dev/null +++ b/swift/etc/smtpd/smtpd.conf @@ -0,0 +1,20 @@ +# $OpenBSD: smtpd.conf,v 1.10 2018/05/24 11:40:17 gilles Exp $ + +# This is the smtpd server system-wide configuration file. +# See smtpd.conf(5) for more information. + +table aliases file:/etc/smtpd/aliases +table secrets file:/etc/smtpd/secrets + +# To accept external mail, replace with: listen on all +# +listen on localhost + +action "local" maildir alias +action "relay" relay host smtps://mvertes@smtp.free.fr auth + +# Uncomment the following to accept external mail for domain "example.org" +# +# match from any for domain "example.org" action "local" +match for local action "local" +match for any action "relay" -- cgit v1.2.3