Feat: add systemd-resolved config
All checks were successful
Build package / build-package (push) Successful in 8s
All checks were successful
Build package / build-package (push) Successful in 8s
This commit is contained in:
5
60-hl-base-env.conf
Normal file
5
60-hl-base-env.conf
Normal 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
|
||||||
7
PKGBUILD
7
PKGBUILD
@@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
|
# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
|
||||||
pkgname=hl-base-env
|
pkgname=hl-base-env
|
||||||
pkgver=0.0.1
|
pkgver=0.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Base environment for konchin.com homelab"
|
pkgdesc="Base environment for konchin.com homelab"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
@@ -13,6 +13,7 @@ depends=(
|
|||||||
)
|
)
|
||||||
install="$pkgname.install"
|
install="$pkgname.install"
|
||||||
source=(
|
source=(
|
||||||
|
"60-$pkgname.conf"
|
||||||
'90-editor.sh'
|
'90-editor.sh'
|
||||||
'hl-rootca.crt'
|
'hl-rootca.crt'
|
||||||
)
|
)
|
||||||
@@ -20,8 +21,10 @@ source=(
|
|||||||
package() {
|
package() {
|
||||||
cd "$srcdir"
|
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 90-editor.sh "$pkgdir/etc/profile.d/90-editor.sh"
|
||||||
install -Dm644 hl-rootca.crt "$pkgdir/usr/share/$pkgname/hl-rootca.crt"
|
install -Dm644 hl-rootca.crt "$pkgdir/usr/share/$pkgname/hl-rootca.crt"
|
||||||
}
|
}
|
||||||
sha256sums=('8df871b1727d147ecc410de3aa6cf24e5bf046f1bfb4b600b60c40acd6c4fa9a'
|
sha256sums=('164d84a6db866f8445d8cd2b92a6513de4b8fd0204e4d127432416f13032890b'
|
||||||
|
'8df871b1727d147ecc410de3aa6cf24e5bf046f1bfb4b600b60c40acd6c4fa9a'
|
||||||
'1bcae0144eb86eae3948eae7299c99f0b1fc53d0f47884da6dfcaddab503a382')
|
'1bcae0144eb86eae3948eae7299c99f0b1fc53d0f47884da6dfcaddab503a382')
|
||||||
|
|||||||
Reference in New Issue
Block a user