fix: cleanup
This commit is contained in:
parent
3198c6c6cb
commit
92f562a03e
10
config
10
config
@ -16,23 +16,25 @@ shell=bash
|
|||||||
|
|
||||||
hostname="$username-pc"
|
hostname="$username-pc"
|
||||||
|
|
||||||
tz=Europe/Paris
|
tz=UTC # Europe/Paris
|
||||||
locales=en_US # en_US,fr_FR
|
locales=en_US # en_US,fr_FR
|
||||||
lang=en_US
|
lang=en_US
|
||||||
|
|
||||||
pkg=(
|
pkg=(
|
||||||
|
7zip unrar
|
||||||
base-devel man-{db,pages} tldr
|
base-devel man-{db,pages} tldr
|
||||||
bash-completion fzf
|
bash-completion
|
||||||
|
detox
|
||||||
dosfstools exfatprogs
|
dosfstools exfatprogs
|
||||||
fastfetch
|
fastfetch
|
||||||
|
fzf
|
||||||
git
|
git
|
||||||
iwd iptables-nft wireguard-tools bind gnu-netcat
|
iwd iptables-nft wireguard-tools gnu-netcat
|
||||||
jq
|
jq
|
||||||
lf
|
lf
|
||||||
neovim{,-lspconfig} python-{pynvim,black} ripgrep bash-language-server pyright
|
neovim{,-lspconfig} python-{pynvim,black} ripgrep bash-language-server pyright
|
||||||
opendoas
|
opendoas
|
||||||
openssh
|
openssh
|
||||||
p7zip unrar
|
|
||||||
podman docker-compose
|
podman docker-compose
|
||||||
reflector
|
reflector
|
||||||
renameutils perl-rename
|
renameutils perl-rename
|
||||||
|
@ -24,7 +24,6 @@ mount "$root" /mnt/
|
|||||||
cat <<EOF > /mnt/etc/fstab
|
cat <<EOF > /mnt/etc/fstab
|
||||||
UUID=$(blkid "$root" -ovalue -sUUID) / ext4 rw,relatime 0 1
|
UUID=$(blkid "$root" -ovalue -sUUID) / ext4 rw,relatime 0 1
|
||||||
UUID=$(blkid "$esp" -ovalue -sUUID) /efi vfat rw,fmask=0077,dmask=0077,noauto 0 2
|
UUID=$(blkid "$esp" -ovalue -sUUID) /efi vfat rw,fmask=0077,dmask=0077,noauto 0 2
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
[ -n "$swapfile" ] && {
|
[ -n "$swapfile" ] && {
|
||||||
|
@ -12,7 +12,8 @@ esac
|
|||||||
|
|
||||||
[ -d /sys/class/power_supply/BAT0 ] && echo tlp >> pkglist.txt
|
[ -d /sys/class/power_supply/BAT0 ] && echo tlp >> pkglist.txt
|
||||||
|
|
||||||
|
echo "$shell" >> pkglist.txt
|
||||||
pacstrap -C rootfs/etc/pacman.conf -K /mnt \
|
pacstrap -C rootfs/etc/pacman.conf -K /mnt \
|
||||||
base linux{,-lts,-firmware} "$shell" efibootmgr sbctl - < pkglist.txt
|
base linux{,-lts,-firmware} efibootmgr sbctl - < pkglist.txt
|
||||||
|
|
||||||
find /mnt/etc/ -name '*.pacnew' -delete
|
find /mnt/etc/ -name '*.pacnew' -delete
|
||||||
|
@ -17,6 +17,6 @@ sbctl enroll-keys
|
|||||||
|
|
||||||
for l in arch{,-lts-fallback}; do
|
for l in arch{,-lts-fallback}; do
|
||||||
efibootmgr --create --unicode --label "$l" \
|
efibootmgr --create --unicode --label "$l" \
|
||||||
--disk "$boot" --part 1 --loader "\EFI\Linux\arch-linux$l.efi"
|
--disk "$boot" --part 1 --loader "\\EFI\\Linux\\arch-linux$l.efi"
|
||||||
done
|
done
|
||||||
echo "$options" > /etc/cmdline.d/root.conf
|
echo "$options" > /etc/cmdline.d/root.conf
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#shellcheck disable=SC2154
|
|
||||||
|
|
||||||
systemctl enable --user podman.socket
|
|
@ -8,8 +8,7 @@ printf '%s\n' \
|
|||||||
bluez{,-utils} \
|
bluez{,-utils} \
|
||||||
feh \
|
feh \
|
||||||
gammastep \
|
gammastep \
|
||||||
gvfs{,-gphoto2,-mtp} \
|
imagemagick ghostscript \
|
||||||
imagemagick \
|
|
||||||
materia-gtk-theme papirus-icon-theme \
|
materia-gtk-theme papirus-icon-theme \
|
||||||
monero \
|
monero \
|
||||||
mpv \
|
mpv \
|
||||||
@ -19,9 +18,10 @@ printf '%s\n' \
|
|||||||
pipewire{,-pulse,-jack} pavucontrol playerctl \
|
pipewire{,-pulse,-jack} pavucontrol playerctl \
|
||||||
polkit-gnome \
|
polkit-gnome \
|
||||||
qemu-{base,audio-pipewire,hw-usb-host,hw-display-virtio-{gpu,vga},ui-gtk} dnsmasq \
|
qemu-{base,audio-pipewire,hw-usb-host,hw-display-virtio-{gpu,vga},ui-gtk} dnsmasq \
|
||||||
|
udisks2 \
|
||||||
xdg-user-dirs \
|
xdg-user-dirs \
|
||||||
yt-dlp \
|
yt-dlp \
|
||||||
zathura{,-pdf-poppler} ghostscript \
|
zathura{,-pdf-poppler} \
|
||||||
zenity \
|
zenity \
|
||||||
>> pkglist.txt
|
>> pkglist.txt
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#shellcheck disable=SC2154
|
#shellcheck disable=SC2154
|
||||||
|
|
||||||
printf '%s\n' \
|
printf '%s\n' \
|
||||||
autorandr \
|
|
||||||
i3lock xss-lock \
|
i3lock xss-lock \
|
||||||
picom \
|
picom \
|
||||||
xorg-{server,xinit,xrandr,xsetroot} xclip xdotool \
|
xorg-{server,xinit,xrandr,xsetroot} xclip xdotool \
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
ALL_kver="/boot/vmlinuz-linux"
|
ALL_kver='/boot/vmlinuz-linux'
|
||||||
PRESETS=('default')
|
PRESETS=('default')
|
||||||
default_uki="/efi/EFI/Linux/arch-linux.efi"
|
default_uki='/efi/EFI/Linux/arch-linux.efi'
|
||||||
|
@ -1,26 +1,30 @@
|
|||||||
#!/usr/bin/nft -f
|
#!/usr/bin/nft -f
|
||||||
# vim:set ts=2 sw=2 et:
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|
||||||
flush ruleset
|
destroy table inet filter;
|
||||||
|
|
||||||
table inet filter {
|
table inet filter {
|
||||||
chain input {
|
chain input {
|
||||||
type filter hook input priority filter; policy drop;
|
type filter hook input priority filter; policy drop;
|
||||||
|
|
||||||
#tcp dport 32768-65535 counter meta nftrace set 1 accept comment "WoW VoiceError:17"
|
#tcp dport 32768-65535 counter meta nftrace set 1 accept comment "WoW VoiceError:17"
|
||||||
|
|
||||||
ct state invalid counter drop
|
ct state invalid counter drop
|
||||||
ct state {established,related} counter accept
|
ct state {established, related} counter accept
|
||||||
|
|
||||||
iif "lo" counter accept
|
iif "lo" counter accept
|
||||||
ip protocol {icmp,icmpv6} counter accept
|
ip protocol {icmp,icmpv6} counter accept
|
||||||
|
|
||||||
|
iifname "waydroid0" meta l4proto {tcp, udp} th dport {53, 67} counter accept
|
||||||
|
|
||||||
counter meta nftrace set 1 comment "dropped"
|
counter meta nftrace set 1 comment "dropped"
|
||||||
}
|
}
|
||||||
|
|
||||||
chain forward {
|
chain forward {
|
||||||
type filter hook forward priority filter; policy drop;
|
type filter hook forward priority filter; policy drop;
|
||||||
|
|
||||||
|
iifname "waydroid0" counter accept
|
||||||
|
oifname "waydroid0" counter accept
|
||||||
|
|
||||||
counter meta nftrace set 1 comment "dropped"
|
counter meta nftrace set 1 comment "dropped"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
--save /etc/pacman.d/mirrorlist
|
--save /etc/pacman.d/mirrorlist
|
||||||
--protocol https
|
--protocol https
|
||||||
--latest 5
|
--sort score
|
||||||
--sort rate
|
|
||||||
|
Loading…
Reference in New Issue
Block a user