From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 2 Aug 2023 19:20:19 +0000 (+0200)
Subject: Improve w530 bookworm setup.
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/conditions?a=commitdiff_plain;h=d7a6ade847683fb0879365e857776f5d1de6d788;p=config

Improve w530 bookworm setup.
---

diff --git a/bookworm/apt-mark/.user.swp b/bookworm/apt-mark/.user.swp
new file mode 100644
index 0000000..29184c9
Binary files /dev/null and b/bookworm/apt-mark/.user.swp differ
diff --git a/bookworm/setup_scripts/setup_desktop.sh b/bookworm/setup_scripts/setup_desktop.sh
index b64d39d..42cd779 100755
--- a/bookworm/setup_scripts/setup_desktop.sh
+++ b/bookworm/setup_scripts/setup_desktop.sh
@@ -35,7 +35,7 @@ if [ "$system_name" = "w530" ]; then
     wget https://us.download.nvidia.com/XFree86/Linux-x86_64/${driver_version}/${runscript}
     rmmod nouveau
     chmod u+x ${runscript} 
-    ./${runscript} --no-kernel-modules --no-questions
+    ./${runscript} --no-kernel-modules --silent
     depmod
 fi
 
diff --git a/bookworm/setup_scripts/setup_home.sh b/bookworm/setup_scripts/setup_home.sh
index ab9f1b5..8a8b265 100755
--- a/bookworm/setup_scripts/setup_home.sh
+++ b/bookworm/setup_scripts/setup_home.sh
@@ -1,6 +1,5 @@
 #!/bin/sh
 set -e
-set -x
 . ./misc.sh
 
 expect_n_args 1 "(system name)" "$@"
@@ -58,6 +57,7 @@ cat "${repos_list_file}" | while read line; do
 done
 
 # Remove redundant config repo copy.
+config_tree_prefix="${public_repos_dir}/config/${debian_version}"
 rm -rf ~/config
 
 # # Set up native messenger for tridactyl.