Pull out common graphical module
This commit is contained in:
27
hosts/common/graphical/default.nix
Normal file
27
hosts/common/graphical/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user