about summary refs log tree commit diff
path: root/nix/etc/nixos/awesome.nix
blob: 25e639e100f047a57f6e306363cb6823ec339141 (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, ... }:

{
  imports = [ ./redshift.nix ];

  fonts.fonts = with pkgs; [ lmodern ];

  services = {
    autorandr.enable = true;
    xserver = {
      enable = true;
      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 qt5ct
    gnome.networkmanagerapplet mate.mate-power-manager playerctl pulsemixer
    rxvt_unicode-with-plugins urxvt_autocomplete_all_the_things urxvt_font_size
    aerc amfora autocutsel firefox keynav newsboat ranger
    arandr audacious gimp scrot vim_configurable
  ];

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