Compare commits

..

No commits in common. "c06bee9e2d1aad5b02ebb9a3aa98cfad5cd0fcdf" and "c6fab34f0a589caddc95774bd3433f57c4a55cc4" have entirely different histories.

3 changed files with 3 additions and 26 deletions

View file

@ -25,7 +25,7 @@ pacman -Syu --noconfirm
# Install essential packages # Install essential packages
pacman -S --noconfirm --needed \ pacman -S --noconfirm --needed \
networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop \ networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop \
bind base-devel git fd ripgrep fwupd arch-audit systemd-resolvconf opensmtpd bind base-devel git fd ripgrep fwupd arch-audit systemd-resolvconf
# Install packages necessary for this script / other scripts in this dotfiles repo # Install packages necessary for this script / other scripts in this dotfiles repo
pacman -S --noconfirm --needed python-rich bc lua jq bat pacman -S --noconfirm --needed python-rich bc lua jq bat
@ -33,7 +33,6 @@ pacman -S --noconfirm --needed python-rich bc lua jq bat
# Copy over system configuration data # Copy over system configuration data
cp root/etc/pacman.conf /etc cp root/etc/pacman.conf /etc
cp root/etc/hosts /etc cp root/etc/hosts /etc
cp -r root/etc/smtpd /etc
HOSTNAME="$(cat /etc/hostname)" HOSTNAME="$(cat /etc/hostname)"
sed -i "s/^127.0.1.1 pc.localdomain pc/127.0.1.1 ${HOSTNAME}.localdomain ${HOSTNAME}/g" /etc/hosts 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 install -m 640 root/etc/sudoers /etc
@ -51,7 +50,7 @@ sudo pacman -Sy
systemctl enable \ systemctl enable \
systemd-resolved.service systemd-timesyncd.service systemd-oomd.service \ systemd-resolved.service systemd-timesyncd.service systemd-oomd.service \
paccache.timer pacman-filesdb-refresh.timer reflector.timer \ paccache.timer pacman-filesdb-refresh.timer reflector.timer \
NetworkManager.service smtpd.service NetworkManager.service
systemctl mask systemd-networkd.service # We have NetworkManager for this systemctl mask systemd-networkd.service # We have NetworkManager for this
# Install ZSH shell # Install ZSH shell

View file

@ -54,7 +54,7 @@ paru -S --noconfirm --needed \
dnsutils net-tools wget jq fzf polkit rebuild-detector hyperfine mediainfo git-delta \ dnsutils net-tools wget jq fzf polkit rebuild-detector hyperfine mediainfo git-delta \
python-pip ripgrep zip p7zip unzip usbutils hexyl strace uv yt-dlp luarocks cargo \ python-pip ripgrep zip p7zip unzip usbutils hexyl strace uv yt-dlp luarocks cargo \
cmake meson npm downgrade glow xdg-ninja-git github-cli act lsof procs skim thermald \ cmake meson npm downgrade glow xdg-ninja-git github-cli act lsof procs skim thermald \
tealdeer pkgfile zoxide openbsd-netcat tealdeer pkgfile zoxide
# Make paru properly track git dependencies # Make paru properly track git dependencies
paru --gendb paru --gendb

View file

@ -1,22 +0,0 @@
# $OpenBSD: smtpd.conf,v 1.10 2018/05/24 11:40:17 gilles Exp $
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
table aliases file:/etc/smtpd/aliases
# To also accept external mail over IPv4 or IPv6,
# respectively replace "listen on localhost" with:
#
# listen on 0.0.0.0
# listen on ::
listen on localhost
action "local" mbox alias <aliases>
#action "relay" relay
# Uncomment the following to accept external mail for domain "example.org"
#
# match from any for domain "example.org" action "local"
match for local action "local"
#match from local for any action "relay"