revert commit c9066c2bc1
This commit is contained in:
parent
056d1574ab
commit
ef12d21aef
|
@ -225,25 +225,25 @@ cp scripts/pratham-setup.sh /mnt/home/pratham/pratham-setup.sh
|
|||
arch-chroot /mnt chown -v pratham:pratham /home/pratham/pratham-setup.sh
|
||||
|
||||
# enable auto-login if Arch Linux is installed inside a VM
|
||||
#if [[ $(dmidecode -s system-manufacturer) == "QEMU" ]]; then
|
||||
#cat <<EOF > /mnt/etc/sddm.conf.d/kde_settings.conf
|
||||
#[Autologin]
|
||||
#Relogin=false
|
||||
#Session=plasmawayland
|
||||
#User=pratham
|
||||
#
|
||||
#[General]
|
||||
#HaltCommand=/usr/bin/systemctl poweroff
|
||||
#RebootCommand=/usr/bin/systemctl reboot
|
||||
#
|
||||
#[Theme]
|
||||
#Current=
|
||||
#
|
||||
#[Users]
|
||||
#MaximumUid=60513
|
||||
#MinimumUid=1000
|
||||
#EOF
|
||||
#fi
|
||||
if [[ $(dmidecode -s system-manufacturer) == "QEMU" ]]; then
|
||||
cat <<EOF > /mnt/etc/sddm.conf.d/kde_settings.conf
|
||||
[Autologin]
|
||||
Relogin=false
|
||||
Session=plasmawayland
|
||||
User=pratham
|
||||
|
||||
[General]
|
||||
HaltCommand=/usr/bin/systemctl poweroff
|
||||
RebootCommand=/usr/bin/systemctl reboot
|
||||
|
||||
[Theme]
|
||||
Current=
|
||||
|
||||
[Users]
|
||||
MaximumUid=60513
|
||||
MinimumUid=1000
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
||||
################################################################################
|
||||
|
|
|
@ -50,8 +50,7 @@ PKGS_TO_INSTALL+=(base-devel bc cpio gcc git inetutils kmod libelf linux-lts-hea
|
|||
|
||||
# network filesystems
|
||||
PKGS_TO_INSTALL+=(avahi nfs-utils samba smbclient)
|
||||
#PKGS_TO_INSTALL+=(kdenetwork-filesharing)
|
||||
#PKGS_TO_INSTALL+=(gvfs-smb
|
||||
#PKGS_TO_INSTALL+=(gvfs-smb)
|
||||
|
||||
# zfs
|
||||
|
||||
|
@ -63,14 +62,13 @@ PKGS_TO_INSTALL+=(avahi nfs-utils samba smbclient)
|
|||
PKGS_TO_INSTALL+=(nvidia-lts nvidia-utils)
|
||||
|
||||
# Display Server (Wayland)
|
||||
PKGS_TO_INSTALL+=(libdrm wayland)
|
||||
#PKGS_TO_INSTALL+=(libdrm wayland)
|
||||
|
||||
# Window Manager (Wayland)
|
||||
|
||||
|
||||
# Desktop Environment (Wayland)
|
||||
#PKGS_TO_INSTALL+=(kcalc kcharselect kdf kdialog ktimer print-manager plasma plasma-meta kde-system-meta plasma-wayland-session)
|
||||
PKGS_TO_INSTALL+=(xfce4)
|
||||
# Desktop Environment (X11; because NVIDIA)
|
||||
PKGS_TO_INSTALL+=(xorg-server kcalc kcharselect kdf kdialog ktimer print-manager plasma plasma-meta kde-system-meta kdenetwork-filesharing)
|
||||
|
||||
# GUI
|
||||
PKGS_TO_INSTALL+=(alacritty firefox meld mpv slurp otf-overpass)
|
||||
|
|
|
@ -35,11 +35,11 @@ fi
|
|||
# apply a fix for KDE preventing shutdown/reboots
|
||||
# this is because I am using systemd-boot instead of GRUB/something else
|
||||
# https://invent.kde.org/plasma/plasma-workspace/-/wikis/Plasma-and-the-systemd-boot
|
||||
#systemctl --user is-active --quiet service plasma-plasmashell.service
|
||||
#if [[ $? -ne 0 ]]; then
|
||||
# kwriteconfig5 --file startkderc --group General --key systemdBoot true
|
||||
# systemctl --user enable plasma-plasmashell.service
|
||||
#fi
|
||||
systemctl --user is-active --quiet service plasma-plasmashell.service
|
||||
if [[ $? -ne 0 ]]; then
|
||||
kwriteconfig5 --file startkderc --group General --key systemdBoot true
|
||||
systemctl --user enable plasma-plasmashell.service
|
||||
fi
|
||||
|
||||
################################################################################
|
||||
# SSH KEYS
|
||||
|
|
Loading…
Reference in New Issue