summaryrefslogtreecommitdiffstats
path: root/hosts/logi1
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-01-22 03:34:18 (EST)
committer P. J. McDermott <pj@pehjota.net>2018-01-22 03:34:18 (EST)
commit64a774af2e827853595bb5d06e9824830241ad11 (patch)
tree2fe6c6d7497781b87068db9ba63a9649d00a2566 /hosts/logi1
parent98372f0f3fe784603dd9907eb3bf1de8ad575f89 (diff)
downloadpc-inst-64a774af2e827853595bb5d06e9824830241ad11.zip
pc-inst-64a774af2e827853595bb5d06e9824830241ad11.tar.gz
pc-inst-64a774af2e827853595bb5d06e9824830241ad11.tar.bz2
logi1: Configure X
Diffstat (limited to 'hosts/logi1')
-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