home · contact · privacy
Enhance w530 bookworm setup.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 2 Aug 2023 02:56:11 +0000 (04:56 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 2 Aug 2023 02:56:11 +0000 (04:56 +0200)
bookworm/apt-mark/thinkpad [new file with mode: 0644]
bookworm/apt-mark/user
bookworm/setup_scripts/setup_desktop.sh
bookworm/setup_scripts/setup_home.sh

diff --git a/bookworm/apt-mark/thinkpad b/bookworm/apt-mark/thinkpad
new file mode 100644 (file)
index 0000000..9e9f2e3
--- /dev/null
@@ -0,0 +1,7 @@
+# for wifi
+firmware-iwlwifi
+# for tlp
+tlp
+tp-smapi-dkms
+#
+
index a7e4e1f330b89bd99bd5110d33403fd37d980670..6e79229816910e31eba3f2410a436c389ada0350 100644 (file)
@@ -4,7 +4,6 @@ lvm2
 # for wifi
 network-manager
 wpasupplicant
-firmware-iwlwifi
 # this provides setupcon which reads /etc/default/console-setup
 console-setup
 # for X to start at all
index 41e500f205a0f677ab99554825eb91387bb4e01a..b64d39dad0737732bb38a935515dbddb1fe0ce27 100755 (executable)
@@ -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
+    ./${runscript} --no-kernel-modules --no-questions
     depmod
 fi
 
index 55707fd31c36456c3c4e6965981c3b98edb9566b..ab9f1b5d94010374c21d727e2a6bf9032cac53ed 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 set -e
 set -x
+. ./misc.sh
 
 expect_n_args 1 "(system name)" "$@"
 get_system_name_arg "$1"
@@ -56,6 +57,9 @@ cat "${repos_list_file}" | while read line; do
     fi
 done
 
+# Remove redundant config repo copy.
+rm -rf ~/config
+
 # # Set up native messenger for tridactyl.
 # version='ef9f02d0da258f68d7faf8898707f6d83d90d07a'
 # curl -fsSl "https://raw.githubusercontent.com/tridactyl/tridactyl/${version}/native/install.sh" | bash