|
@@ -130,7 +130,7 @@ pacman -Syu --noconfirm $PACKAGES
|
|
|
rsync -Pav /srv/arch-desktop/install/ /
|
|
|
mkdir -p /etc/skel/{desktop,downloads,public,public/templates,documents,music,pictures,videos,code}
|
|
|
# @todo: verify if these is necessary /w pipewire-pulse
|
|
|
-mkdir -p /etc/skel/.config/pulse
|
|
|
+#mkdir -p /etc/skel/.config/pulse
|
|
|
# sed "/module-suspend-on-idle/d" /etc/pulse/default.pa > /etc/skel/.config/pulse/default.pa
|
|
|
# sed -i "/module-switch-on-port-available/d" /etc/skel/.config/pulse/default.pa
|
|
|
rsync -Pav /etc/skel/ "$(getent passwd root | cut -d: -f6)/"
|
|
@@ -228,6 +228,9 @@ update-desktop-database
|
|
|
# generate default (passwordless) ed25519 ssh key if none exists
|
|
|
su $username -c "cd; if [ ! -f ~/.ssh/id_ed25519 ]; then ssh-keygen -q -t ed25519 -N '' -f ~/.ssh/id_ed25519 && cd && chmod 600 ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519.pub; fi"
|
|
|
|
|
|
+# enable wireplumber for user
|
|
|
+su $username -c "cd; systemctl --user enable wireplumber.service"
|
|
|
+
|
|
|
# install gvm loading from ~/.bashrc & ~/.bash_profile, and the latest go version
|
|
|
su $username -c "if [ ! -d ~/.gvm ]; then GVM_NO_UPDATE_PROFILE=1 bash < <(curl -Ls https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer 2> /dev/null); fi"
|
|
|
su $username -c 'grep "gvm" ~/.bash_profile &> /dev/null || echo -e "\n# load gvm\n[ -s $HOME/.gvm/scripts/gvm ] && . $HOME/.gvm/scripts/gvm" >> ~/.bash_profile'
|