about summary refs log tree commit diff
path: root/nix/awesome.nix
blob: 15c7bd349f6b31380dd5209f2fad72732c8dc9b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ pkgs, ... }:

{
  fonts.fonts = with pkgs; [ julia-mono lmodern ];

  services = {
    autorandr.enable = true;
    xserver = {
      enable = true;
      desktopManager.xterm.enable = false;
      displayManager.startx.enable = true;
      windowManager.awesome.enable = true;

      layout = "us";
      xkbOptions = "caps:ctrl_modifier,compose:menu";
      libinput.enable = true; # Enable touchpad support.
    };
  };

  i18n = {
    defaultLocale = "en_US.UTF-8";
    inputMethod = {
      enabled = "ibus";
      ibus.engines = with pkgs.ibus-engines; [ table table-others ];
    };
  };

  environment.systemPackages = with pkgs; [
    gnome.adwaita-icon-theme gnome.networkmanagerapplet qt5ct
    clipbuzz playerctl pulsemixer xclip xdotool
    aerc amfora ncdu newsboat ranger ueberzug rxvt-unicode vim_configurable
    arandr audacious keynav scrot sigil xorg.xkill zathura
    firefox libreoffice nheko transmission-gtk
  ];

  programs.nm-applet.enable = true;
  programs.slock.enable = true;
  programs.udevil.enable = true;
}