Feat: add systemd-resolved config
All checks were successful
Build package / build-package (push) Successful in 8s

This commit is contained in:
2025-07-28 06:36:02 +08:00
parent 9276790f0c
commit 3bfde8728d
2 changed files with 10 additions and 2 deletions

5
60-hl-base-env.conf Normal file
View File

@@ -0,0 +1,5 @@
[Resolve]
DNS=172.20.10.253
FallbackDNS=1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google
Domains=konchin.com
LLMNR=yes

View File

@@ -1,6 +1,6 @@
# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
pkgname=hl-base-env
pkgver=0.0.1
pkgver=0.0.2
pkgrel=1
pkgdesc="Base environment for konchin.com homelab"
arch=(any)
@@ -13,6 +13,7 @@ depends=(
)
install="$pkgname.install"
source=(
"60-$pkgname.conf"
'90-editor.sh'
'hl-rootca.crt'
)
@@ -20,8 +21,10 @@ source=(
package() {
cd "$srcdir"
install -Dm644 "60-$pkgname.conf" "$pkgdir/etc/systemd/resolved.conf.d/60-$pkgname.conf"
install -Dm644 90-editor.sh "$pkgdir/etc/profile.d/90-editor.sh"
install -Dm644 hl-rootca.crt "$pkgdir/usr/share/$pkgname/hl-rootca.crt"
}
sha256sums=('8df871b1727d147ecc410de3aa6cf24e5bf046f1bfb4b600b60c40acd6c4fa9a'
sha256sums=('164d84a6db866f8445d8cd2b92a6513de4b8fd0204e4d127432416f13032890b'
'8df871b1727d147ecc410de3aa6cf24e5bf046f1bfb4b600b60c40acd6c4fa9a'
'1bcae0144eb86eae3948eae7299c99f0b1fc53d0f47884da6dfcaddab503a382')