install: mkdir systemd directories

This commit is contained in:
Aminda Suomalainen 2025-06-13 11:04:20 +03:00
parent e4f5a79385
commit 0a73c51371
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -59,6 +59,9 @@ cp -v conf/mpv.conf $HOME/.config/mpv/mpv.conf
mkdir -vp $HOME/.var/app/io.mpv.Mpv/config/mpv
cp -v conf/mpv.conf $HOME/.var/app/io.mpv.Mpv/config/mpv/mpv.conf
# systemd
mkdir -vp $HOME/.config/systemd/user/
# if I am performing ident spoofing already, I don't want to touch it
if [ ! -f $HOME/.oidentd.conf ]; then
cp -v conf/oidentd.conf $HOME/.oidentd.conf
@ -158,6 +161,11 @@ if [ "$(id -u)" == "0" ]; then
cp etc/ssh/sshd_config.d/00-basic-security.conf /etc/ssh/sshd_config.d/
chmod -v a+r /etc/ssh/sshd_config.d/*.conf
# Systemd configuration directories. No configuration placed, so safe.
mkdir -vp /etc/systemd/{system,system-preset,user,network}/
mkdir -vp /etc/systemd/system/{app.slice.d,service.d}/
mkdir -vp /etc/systemd/{coredump,login,oomd,journald,resolved,system,timesyncd}.conf.d/
# Enables laziness on checking whether or not apt is installed
mkdir -vp /etc/apt/apt.conf.d/
# Enables progress bar and colours for apt/dpkg, which are helpful at