enable systemd services after installation

This commit is contained in:
Maximilian Keßler 2022-07-25 22:54:36 +02:00
parent eac38f26da
commit 44eb2945eb
4 changed files with 11 additions and 0 deletions

View file

@ -40,6 +40,8 @@ package_mkessler-base() {
# install signing key # install signing key
depends+=(mkessler-signing-key) depends+=(mkessler-signing-key)
install=mkessler-base.install
} }
package_mkessler-xmonad() { package_mkessler-xmonad() {
@ -96,6 +98,8 @@ package_mkessler-software() {
package_mkessler-print() { package_mkessler-print() {
depends=(cups cups-pdf) depends=(cups cups-pdf)
install=mkessler-print.install
} }
package_mkessler-locale() { package_mkessler-locale() {

3
mkessler-base.install Normal file
View file

@ -0,0 +1,3 @@
post_install() {
systemctl enable NetworkManager.service
}

3
mkessler-print.install Normal file
View file

@ -0,0 +1,3 @@
post_install() {
systemctl enable cups.socket
}

View file

@ -1,4 +1,5 @@
post_install() { post_install() {
systemctl enable lightdm.service
cat <<EOF > /etc/X11/xorg.conf.d/00-keyboard.conf cat <<EOF > /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's # Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to # probably wise not to edit this file manually. Use localectl(1) to