feat: massive 082023 update
This commit is contained in:
parent
657d788db2
commit
856a444267
21 changed files with 131 additions and 48 deletions
3
rootfs/etc/NetworkManager/NetworkManager.conf
Normal file
3
rootfs/etc/NetworkManager/NetworkManager.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[main]
|
||||
dns=systemd-resolved
|
||||
systemd-resolved=false
|
||||
6
rootfs/etc/iptables/iptables.rules
Normal file
6
rootfs/etc/iptables/iptables.rules
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
*filter
|
||||
:INPUT DROP [0:0]
|
||||
:FORWARD DROP [0:0]
|
||||
:OUTPUT ACCEPT [0:0]
|
||||
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
COMMIT
|
||||
13
rootfs/etc/pacman.d/hooks/10-nvidia.hook
Normal file
13
rootfs/etc/pacman.d/hooks/10-nvidia.hook
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Trigger]
|
||||
Operation=Install
|
||||
Operation=Upgrade
|
||||
Operation=Remove
|
||||
Type=Package
|
||||
Target=nvidia
|
||||
|
||||
[Action]
|
||||
Description=Update NVIDIA module in initcpio
|
||||
Depends=mkinitcpio
|
||||
When=PostTransaction
|
||||
NeedsTargets
|
||||
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'
|
||||
35
rootfs/etc/systemd/resolved.conf
Normal file
35
rootfs/etc/systemd/resolved.conf
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# 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 by creating "drop-ins" in
|
||||
# the resolved.conf.d/ subdirectory. The latter is generally recommended.
|
||||
# Defaults can be restored by simply deleting this file and all drop-ins.
|
||||
#
|
||||
# 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=1.1.1.1#cloudflare-dns.com
|
||||
FallbackDNS=1.1.1.1 8.8.8.8
|
||||
Domains=~.
|
||||
#DNSSEC=no
|
||||
DNSOverTLS=yes
|
||||
#MulticastDNS=yes
|
||||
#LLMNR=yes
|
||||
#Cache=yes
|
||||
#CacheFromLocalhost=no
|
||||
#DNSStubListener=yes
|
||||
#DNSStubListenerExtra=
|
||||
#ReadEtcHosts=yes
|
||||
#ResolveUnicastSingleLabel=no
|
||||
#StaleRetentionSec=0
|
||||
1
rootfs/etc/udev/rules.d/10-lowbat.rules
Normal file
1
rootfs/etc/udev/rules.d/10-lowbat.rules
Normal file
|
|
@ -0,0 +1 @@
|
|||
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="[0-5]", RUN+="/usr/bin/systemctl suspend"
|
||||
1
rootfs/etc/udev/rules.d/99-backlight.rules
Normal file
1
rootfs/etc/udev/rules.d/99-backlight.rules
Normal file
|
|
@ -0,0 +1 @@
|
|||
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness"
|
||||
Loading…
Add table
Add a link
Reference in a new issue