mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-09-13 10:40:04 +00:00
Install opensmtpd
This commit is contained in:
parent
c6fab34f0a
commit
41dc0a9080
2 changed files with 25 additions and 2 deletions
|
@ -25,7 +25,7 @@ pacman -Syu --noconfirm
|
|||
# Install essential packages
|
||||
pacman -S --noconfirm --needed \
|
||||
networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop \
|
||||
bind base-devel git fd ripgrep fwupd arch-audit systemd-resolvconf
|
||||
bind base-devel git fd ripgrep fwupd arch-audit systemd-resolvconf opensmtpd
|
||||
|
||||
# Install packages necessary for this script / other scripts in this dotfiles repo
|
||||
pacman -S --noconfirm --needed python-rich bc lua jq bat
|
||||
|
@ -33,6 +33,7 @@ pacman -S --noconfirm --needed python-rich bc lua jq bat
|
|||
# Copy over system configuration data
|
||||
cp root/etc/pacman.conf /etc
|
||||
cp root/etc/hosts /etc
|
||||
cp -r root/etc/smtpd /etc
|
||||
HOSTNAME="$(cat /etc/hostname)"
|
||||
sed -i "s/^127.0.1.1 pc.localdomain pc/127.0.1.1 ${HOSTNAME}.localdomain ${HOSTNAME}/g" /etc/hosts
|
||||
install -m 640 root/etc/sudoers /etc
|
||||
|
@ -50,7 +51,7 @@ sudo pacman -Sy
|
|||
systemctl enable \
|
||||
systemd-resolved.service systemd-timesyncd.service systemd-oomd.service \
|
||||
paccache.timer pacman-filesdb-refresh.timer reflector.timer \
|
||||
NetworkManager.service
|
||||
NetworkManager.service smtpd.service
|
||||
systemctl mask systemd-networkd.service # We have NetworkManager for this
|
||||
|
||||
# Install ZSH shell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue