39 lines
838 B
Nix
39 lines
838 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
{
|
||
|
# Enable the X11 windowing system.
|
||
|
services.xserver = {
|
||
|
enable = true;
|
||
|
synaptics = {
|
||
|
twoFingerScroll = true;
|
||
|
# inverted scrolling
|
||
|
additionalOptions = ''
|
||
|
Option "HorizScrollDelta" "-107"
|
||
|
Option "VertScrollDelta" "-107"
|
||
|
'';
|
||
|
};
|
||
|
layout = "us";
|
||
|
displayManager.slim.defaultUser = "yorick";
|
||
|
# xkbOptions = "eurosign:e";
|
||
|
};
|
||
|
hardware.opengl = {
|
||
|
enable = true;
|
||
|
driSupport32Bit = true;
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
slock
|
||
|
];
|
||
|
security.setuidPrograms = [ "slock" ];
|
||
|
|
||
|
fonts = {
|
||
|
enableFontDir = true;
|
||
|
enableGhostscriptFonts = true;
|
||
|
fonts = with pkgs; [
|
||
|
corefonts # Micrsoft free fonts
|
||
|
inconsolata # monospaced
|
||
|
source-code-pro
|
||
|
ubuntu_font_family # Ubuntu fonts
|
||
|
];
|
||
|
};
|
||
|
}
|