Pull out common graphical module

This commit is contained in:
2022-02-13 16:08:46 +00:00
parent 0ef362f2b3
commit 72a25319b0
3 changed files with 28 additions and 23 deletions

View File

@@ -0,0 +1,27 @@
{ config, pkgs, ...}:
{
# Enable the X11 windowing system.
services.xserver = {
enable = true;
layout = "gb";
libinput = {
enable = true;
mouse = {
accelProfile = "flat";
accelSpeed = "1";
};
};
displayManager = {
gdm.enable = true;
};
windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
};
};
}