blob: 8ed6f239d13d8dbba78830c5c49ef8bfaf551173 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
. ${BUILDFILE%/*}/common.sh
pkgver=20180909
package() {
preamble
pkgdesc="Parabola server configuration: proton.parabola.nu base configuration"
depends+=(config-parabola-box-base)
# #### base setup
depends+=(linux-libre-lts grub)
conflicts+=(linux-libre)
add-file etc/hostname <<EOF
proton.parabola.nu
EOF
add-file etc/machine-info <<EOF
LOCATION="The Positive Internet Company, UK"
EOF
add-file etc/locale.conf <<EOF
LANG=en_US.UTF-8
LC_COLLATE=C
EOF
add-file -m644 usr/share/holo/files/10-"$pkgname"/etc/locale.gen <<'EOF'
en_US.UTF-8 UTF-8
EOF
install -d etc/ssl/private
ln -s ../../letsencrypt/live/$(cat etc/hostname) etc/ssl/private/myhostname
# ##### performance
depends+=(haveged)
add-unit etc/systemd/system/multi-user.target.wants/haveged.service
# ##### timedate
ln -s ../usr/share/zoneinfo/Europe/London etc/localtime
# Use timesyncd NTP client daemon.
add-unit etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
# ##### networking
depends+=(netctl)
add-file etc/netctl/ethernet-static <<EOF
Description='Basic static ethernet connection'
Interface=ens18
Connection=ethernet
IP=static
Address=(80.87.131.232/24)
Routes=(80.87.131.1)
Gateway=(80.87.131.1)
DNS=(80.87.128.200)
IP6=stateless
EOF
netctl-enable ethernet-static
postamble
}
|