Compare commits

...

6 Commits

2 changed files with 39 additions and 8 deletions

45
install
View File

@ -167,7 +167,7 @@ if [ "$(id -u)" == "0" ]; then
cp -v etc/systemd/system/app.slice.d/90-cpuquota.conf /etc/systemd/system/app.slice.d/90-cpuquota.conf
mkdir -vp /etc/systemd/{coredump,login,oomd,journald,resolved,system,timesyncd}.conf.d/
cp -v etc/systemd/oomd.conf.d/20-oomd.conf /etc/systemd/oomd.conf.d/20-oomd.conf
mkdir -vp /etc/systemd/system/{ssh,sshd,sshguard,systemd-resolved,systemd-networkd,NetworkManager,iwd,unbound,tor,oidentd,yggdrasil}.service.d/
mkdir -vp /etc/systemd/system/{aminda-duperemove,aminda-nocron-reboot,ssh,sshd,sshguard,systemd-resolved,systemd-networkd,monthly-btrfs-balance,NetworkManager,iwd,unbound,tor,oidentd,yggdrasil}.service.d/
mkdir -vp /etc/systemd/system/{ssh,sshd,oidentd}.socket.d/
# SECURITY WARNING!
cp -v etc/systemd/system/service.d/rngd-wanted.conf /etc/systemd/system/service.d/
@ -189,6 +189,23 @@ if [ "$(id -u)" == "0" ]; then
#cp -v etc/systemd/system/socket.d/dualstack-bind.conf /etc/systemd/system/oidentd.socket.d/
rm -v /etc/systemd/system/*.socket.d/dualstack-bind.conf
# SECURITY WARNING! Automatic flatpak updates
if hash flatpak 2> /dev/null; then
cp -v etc/systemd/system/flatpak-update.{timer,service} /etc/systemd/system/
fi
# STRANGE BEHAVIOUR WARNING IF NOT ME.
cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.service /etc/systemd/system/
cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.timer /etc/systemd/system/
# This is now how I assume Kinoite
if [ -f /usr/etc/rpm-ostreed.conf ]; then
cp -v etc/systemd/system/{aminda-duperemove,monthly-btrfs-balance}.service /etc/systemd/system/
cp -v etc/systemd/system/{aminda-duperemove,monthly-btrfs-balance}.timer /etc/systemd/system/
# As we are Kinoite/Atomic and known to use BTRFS
cp -v etc/systemd/system/aminda-duperemove.service.d/{90-btrfs-balance,91-fedora-atomic}.conf /etc/systemd/system/aminda-duperemove.service.d/
cp -v etc/systemd/system/monthly-btrfs-balance.service.d/fedora-atomic.conf /etc/systemd/system/monthly-btrfs-balance.service.d/
fi
if hash systemctl 2> /dev/null; then
systemctl daemon-reload
(systemctl --global enable darkman.service &)
@ -209,6 +226,18 @@ if [ "$(id -u)" == "0" ]; then
(systemctl disable --now sshd.service &)
(systemctl enable --now sshd.socket &)
fi
# Aminda weirdness
(systemctl enable --now {aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.timer &)
if hash flatpak 2> /dev/null; then
(systemctl enable flatpak-update.timer &)
fi
if [ -f /usr/etc/rpm-ostreed.conf ]; then
(systemctl enable {aminda-duperemove,monthly-btrfs-balance}.timer &)
fi
fi
# SECURITY WARNING, autostarts
@ -222,12 +251,14 @@ if [ "$(id -u)" == "0" ]; then
cp -v etc/xdg/autostart/easyeffects-service.desktop /etc/xdg/autostart/
fi
# 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
# times when guesstimating when will things happen
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
# If apt is installed, enable progress bar and colors
if hash apt-get 2> /dev/null; then
mkdir -vp /etc/apt/apt.conf.d/
# Enables progress bar and colours for apt/dpkg, which are helpful at
# times when guesstimating when will things happen
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
fi
# Workarounds for Debian binary names
# nodejs -> node was traditionally an eternity issue for me

2
package.json vendored
View File

@ -9,6 +9,6 @@
"prettier-plugin-sh": "0.18.0",
"prettier-plugin-toml": "2.0.6"
},
"packageManager": "pnpm@10.17.0+sha512.fce8a3dd29a4ed2ec566fb53efbb04d8c44a0f05bc6f24a73046910fb9c3ce7afa35a0980500668fa3573345bd644644fa98338fa168235c80f4aa17aa17fbef",
"packageManager": "pnpm@10.17.1+sha512.17c560fca4867ae9473a3899ad84a88334914f379be46d455cbf92e5cf4b39d34985d452d2583baf19967fa76cb5c17bc9e245529d0b98745721aa7200ecaf7a",
"prettier": "@aminda/global-prettier-config"
}