initial commit
Change-Id: Icdf87c6c68d88c917468ad949f90af5bcb690831
diff --git a/modules/video.nix b/modules/video.nix
new file mode 100644
index 0000000..6ba96d0
--- /dev/null
+++ b/modules/video.nix
@@ -0,0 +1,16 @@
+{
+ services.xserver.enable = true;
+ services.xserver.videoDrivers = [ "amdgpu" ];
+
+ services.xserver.displayManager.sddm.enable = true;
+ services.xserver.desktopManager.plasma5.enable = true;
+
+ hardware.opengl.driSupport = true;
+ # For 32 bit applications
+ hardware.opengl.driSupport32Bit = true;
+
+ services.xserver = {
+ layout = "us";
+ xkbVariant = "";
+ };
+}