summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2020-05-23 16:19:36 -0600
committerKenny Ballou <kballou@devnulllabs.io>2020-05-23 16:19:36 -0600
commitb80ef15b4477d115801596e71f8fd289d763088a (patch)
treec692f6348d017ef9b4087db0ed605a4eafd76608
parent2b0ffd03e4fb39ef2de7933506180785535abec4 (diff)
downloadcfg.nix-b80ef15b4477d115801596e71f8fd289d763088a.tar.gz
cfg.nix-b80ef15b4477d115801596e71f8fd289d763088a.tar.xz
services: x11: set specific video drivers
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
-rw-r--r--eligos/configuration.nix1
-rw-r--r--orobas/configuration.nix1
-rw-r--r--phenex/configuration.nix1
-rw-r--r--services/x11-amdgpu.nix6
-rw-r--r--services/x11-intel.nix6
5 files changed, 15 insertions, 0 deletions
diff --git a/eligos/configuration.nix b/eligos/configuration.nix
index f368b0d..7740b51 100644
--- a/eligos/configuration.nix
+++ b/eligos/configuration.nix
@@ -16,6 +16,7 @@
../services/sound.nix
../services/x11.nix
../services/x11-laptop.nix
+ ../services/x11-amdgpu.nix
../services/kde.nix
../services/dbus.nix
../services/haveged.nix
diff --git a/orobas/configuration.nix b/orobas/configuration.nix
index dd53bb1..93d06fb 100644
--- a/orobas/configuration.nix
+++ b/orobas/configuration.nix
@@ -16,6 +16,7 @@
../services/dnsmasq.nix
../services/sound.nix
../services/x11.nix
+ ../services/x11-intel.nix
../services/x11-laptop.nix
../services/kde.nix
../services/haveged.nix
diff --git a/phenex/configuration.nix b/phenex/configuration.nix
index 5b0a558..236f073 100644
--- a/phenex/configuration.nix
+++ b/phenex/configuration.nix
@@ -15,6 +15,7 @@
../services/dnsmasq.nix
../services/sound.nix
../services/x11.nix
+ ../services/x11-intel.nix
../services/x11-laptop.nix
../services/kde.nix
../services/dbus.nix
diff --git a/services/x11-amdgpu.nix b/services/x11-amdgpu.nix
new file mode 100644
index 0000000..33f0052
--- /dev/null
+++ b/services/x11-amdgpu.nix
@@ -0,0 +1,6 @@
+{ config, ... }:
+{
+ services.xserver.videoDrivers = [
+ "amdgpu" "radeon" "vesa"
+ ];
+}
diff --git a/services/x11-intel.nix b/services/x11-intel.nix
new file mode 100644
index 0000000..af4a166
--- /dev/null
+++ b/services/x11-intel.nix
@@ -0,0 +1,6 @@
+{ config, ... }:
+{
+ services.xserver.videoDrivers = [
+ "intel" "vesa"
+ ];
+}