diff options
-rw-r--r-- | etc/.cfgl/config | 4 | ||||
-rw-r--r-- | etc/hostname | 2 | ||||
-rw-r--r-- | etc/myconf/cfgl_meta | 4 | ||||
-rw-r--r-- | etc/systemd/network/10-cloud-init-eth0.network | 15 | ||||
-rw-r--r-- | etc/systemd/network/default.network | 6 | ||||
-rw-r--r-- | etc/systemd/system/paccache.service.d/10-remove-all.conf | 8 | ||||
-rw-r--r-- | etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf | 9 | ||||
-rw-r--r-- | home/xyz/.bashrc | 2 | ||||
-rw-r--r-- | home/xyz/.config/myconf/pacman_Qqne | 3 |
9 files changed, 20 insertions, 33 deletions
diff --git a/etc/.cfgl/config b/etc/.cfgl/config index cfcdd37c..f54a1e6d 100644 --- a/etc/.cfgl/config +++ b/etc/.cfgl/config @@ -11,6 +11,6 @@ fetch = +refs/heads/*:refs/remotes/origin/* [commit] gpgsign = false -[branch "ka"] +[branch "ia"] remote = origin - merge = refs/heads/ka + merge = refs/heads/ia diff --git a/etc/hostname b/etc/hostname index 94ef4c28..45c80593 100644 --- a/etc/hostname +++ b/etc/hostname @@ -1 +1 @@ -xyzka +xyzia diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta index 43cda49a..6986474b 100644 --- a/etc/myconf/cfgl_meta +++ b/etc/myconf/cfgl_meta @@ -23,13 +23,13 @@ 644 root root //etc/sysctl.d/99-sysctl.conf 755 root root //etc/systemd 755 root root //etc/systemd/network -644 systemd-network systemd-network //etc/systemd/network/10-cloud-init-eth0.network +644 systemd-network systemd-network //etc/systemd/network/default.network 755 root root //etc/systemd/system 755 root root //etc/systemd/system/multi-user.target.wants 777 root root //etc/systemd/system/multi-user.target.wants/qbittorrent-nox@xyz.service 777 root root //etc/systemd/system/multi-user.target.wants/wg-quick@wg_ka.service 755 root root //etc/systemd/system/paccache.service.d -644 root root //etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf +644 root root //etc/systemd/system/paccache.service.d/10-remove-all.conf 755 root root //home 700 xyz wheel //home/xyz 644 xyz wheel //home/xyz/.bashrc diff --git a/etc/systemd/network/10-cloud-init-eth0.network b/etc/systemd/network/10-cloud-init-eth0.network deleted file mode 100644 index 5c04b591..00000000 --- a/etc/systemd/network/10-cloud-init-eth0.network +++ /dev/null @@ -1,15 +0,0 @@ -[Address] -Address=82.153.138.108/24 - -[Match] -MACAddress=f6:f5:d6:c3:5e:4f -Name=eth0 - -[Network] -DHCP=no -DNS=9.9.9.9 1.1.1.1 -Domains=kyun.host - -[Route] -Gateway=82.153.138.1 - diff --git a/etc/systemd/network/default.network b/etc/systemd/network/default.network new file mode 100644 index 00000000..cb28d02e --- /dev/null +++ b/etc/systemd/network/default.network @@ -0,0 +1,6 @@ +[Match] +Name=eth0 + +[Network] +Gateway=89.213.174.1 +Address=89.213.174.95/24 diff --git a/etc/systemd/system/paccache.service.d/10-remove-all.conf b/etc/systemd/system/paccache.service.d/10-remove-all.conf new file mode 100644 index 00000000..a33a36a2 --- /dev/null +++ b/etc/systemd/system/paccache.service.d/10-remove-all.conf @@ -0,0 +1,8 @@ +[Service] +# may need `sudo systemctl daemon-reload` afterward +# need a line of `ExecStart=` to clear the list first, +# more about drop-in dir see `man systemd.unit`, more about ExecStart see `man systemd.service` +# https://wiki.archlinux.org/title/Systemd#Drop-in_files +# https://wiki.archlinux.org/title/Systemd#Examples +ExecStart= +ExecStart=/usr/bin/paccache -rk0 diff --git a/etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf b/etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf deleted file mode 100644 index 38d3c2d0..00000000 --- a/etc/systemd/system/paccache.service.d/20-remove-all-uninstalled.conf +++ /dev/null @@ -1,9 +0,0 @@ -[Service] -# keep original `ExecStart=/usr/bin/paccache -r` while adding to the list -# because I want the default behavior and also remove all uninstalled pacman package cache -# may need `sudo systemctl daemon-reload` afterward -# if I want to clear the list first, I should do a line of `ExecStart=` first -# more about drop-in dir see `man systemd.unit`, more about ExecStart see `man systemd.service` -# https://wiki.archlinux.org/title/Systemd#Drop-in_files -# https://wiki.archlinux.org/title/Systemd#Examples -ExecStart=/usr/bin/paccache -ruk0 diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index e58b58b4..33d8cd11 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -29,7 +29,7 @@ esac # tput is better for different terminals? # but also need \[ and \] around color code for PS1! but seems no need for printf in script? why? # setaf and sgr0 see `man terminfo` -PS1="\[$(tput setaf 3)\][\u@\h \W]\$ \[$(tput sgr0)\]" +PS1="\[$(tput setaf 5)\][\u@\h \W]\$ \[$(tput sgr0)\]" # https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc for cmd in hardcode-fixer ventoy units_cur fbgrab powertop nft rpi-imager fdisk dmesg; do diff --git a/home/xyz/.config/myconf/pacman_Qqne b/home/xyz/.config/myconf/pacman_Qqne index 3cd85a86..6dd1a91a 100644 --- a/home/xyz/.config/myconf/pacman_Qqne +++ b/home/xyz/.config/myconf/pacman_Qqne @@ -1,8 +1,6 @@ base base-devel bash-completion -btrfs-progs -cloud-guest-utils dash devtools efibootmgr @@ -35,7 +33,6 @@ posix-user-portability posix-xsi python-pip qbittorrent-nox -qemu-guest-agent rebuild-detector reflector rsync |