modified: calamares/etc/local.d/hostself.start
[GalaxyCodeBases.git] / etc / Server / aconfmgr / 40-setup.sh
blob9dd2a7be10b7220e39dd23b76c1491f555414a97
1 # set time
2 IgnorePath '/etc/adjtime'
3 if [[ $aconfmgr_action == "apply" ]]; then
4 sudo /usr/bin/ntpdate -u time.asia.apple.com
5 sudo /usr/bin/hwclock --systohc
6 fi
7 CreateLink /etc/localtime /usr/share/zoneinfo/Asia/Hong_Kong
9 # dns
10 #CopyFile /etc/hostname
11 #CopyFile /etc/hosts
13 # pacman
14 #CopyFile /etc/pacman.conf
15 #CopyFile /etc/pacman.d/mirrorlist
17 # sudo wheel
18 echo '%wheel ALL=(ALL) ALL' > "$(CreateFile /etc/sudoers.d/wheel 440)"
20 # Add user
21 if [[ $aconfmgr_action == "apply" ]]; then
22 if id -u "galaxy" >/dev/null 2>&1; then
23 echo "[!]User Galaxy exists."
24 else
25 sudo useradd -m galaxy
26 sudo usermod -aG wheel galaxy
30 AddPackage expac
31 #AddPackage lesspipe
32 AddPackage noto-fonts-cjk
33 AddPackage noto-fonts-emoji
34 AddPackage noto-fonts-extra
35 AddPackage git
36 AddPackage gnuplot
37 AddPackage python-pygments
38 AddPackage bash-completion
39 AddPackage maliit-keyboard
40 AddPackage python-markdown
41 AddPackage poppler-data
42 #AddPackage gocryptfs
43 AddPackage unarchiver
44 AddPackage htop
45 #AddPackage iotop
47 AddPackage --foreign aconfmgr-git # A configuration manager for Arch Linux
48 AddPackage --foreign yay # Yet another yogurt. Pacman wrapper and AUR helper written in go.
50 AddPackage vim
51 AddPackage lsof
52 #AddPackage strace
53 AddPackage ed