Skip to content

Instantly share code, notes, and snippets.

@unode
Created October 19, 2017 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unode/e8a52c044dcde46ae9892d76cd1eecd5 to your computer and use it in GitHub Desktop.
Save unode/e8a52c044dcde46ae9892d76cd1eecd5 to your computer and use it in GitHub Desktop.
# Enable the X11 windowing system.
xserver = {
enable = true;
layout = "gb";
xkbOptions = "terminate:ctrl_alt_bksp,compose:menu";
videoDrivers = [ "nvidiaLegacy340" ];
monitorSection = ''
Option "NoLogo" "true"
'';
# NixOS default login manager is slim. This mostly works but sometimes results in a failed session (bare xterm)
# The IRC suggestion was to use sddm.
# This is part of KDE but doesn't seem to pull any major KDE dependencies so until a better alternative comes up.
displayManager.sddm.enable = true;
windowManager.awesome.enable = true;
libinput = {
enable = true;
clickMethod = "clickfinger";
scrollMethod = "twofinger";
tapping = true;
disableWhileTyping = true;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment