tvl-depot/system/modules/xserver.nix

20 lines
325 B
Nix
Raw Normal View History

2020-03-28 04:32:13 +01:00
{ config, pkgs, ... }:
{
# Enable the X11 windowing system.
services.xserver = {
enable = true;
layout = "us";
xkbOptions = "caps:swapescape";
libinput.enable = true;
windowManager.i3 = {
enable = true;
extraPackages = with pkgs; [
i3status
i3lock
];
};
};
}