summaryrefslogtreecommitdiffstats
path: root/hosts/logi1/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/logi1/postinst')
-rw-r--r--hosts/logi1/postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst
index cd49735..6b7392c 100644
--- a/hosts/logi1/postinst
+++ b/hosts/logi1/postinst
@@ -59,6 +59,15 @@ in_target grub-install "${dev}"
# Update initramfs.
in_target update-initramfs -u
+# Configure X.
+cat >"${target}/etc/X11/xorg.conf" <<EOF
+Section "Device"
+ Identifier "Card0"
+ Driver "nouveau"
+ BusID "PCI:1:0:0"
+EndSection
+EOF
+
# Add user to groups created by postinst_pkgs.
in_target adduser pj scanner || return 1
in_target adduser pj wireshark || return 1