aboutsummaryrefslogtreecommitdiff
path: root/gui/default.nix
blob: 93cf8c380c124b45ae93d3264bd414eec5bd1bd2 (plain)
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
{ config, pkgs, ... }:

let
  hidpi = config.custom.hidpi;

in {
  imports = [
    ./xmonad.nix
    ./kitty.nix
    ./vim.nix
    ./zathura.nix
  # applications grouped by purpose
    ./apps/file.nix
    ./apps/web.nix
    ./apps/dev.nix
  ];

# hidpi specific xorg flags
  xresources.extraConfig = pkgs.lib.mkIf hidpi ''
    Xft.dpi: 160
    Xft.autohint: 0
    Xft.lcdfilter: lcddefault
    Xft.hintstyle: hintfull
    Xft.hinting: 1
    Xft.antialias: 1
    Xft.rgba: rgb
  '';

# desktop shortcuts for project specific tasks
  home.packages = pkgs.callPackage ./pkgs/tasker.nix {
    inherit pkgs;
    tasks = config.custom.tasks;
  };
}