summaryrefslogtreecommitdiff
path: root/nixos/hosts/box/box.nix
blob: 26cfda8b0046300fc57468b7ed650a43a6577066 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ pkgs, ... }: {
  imports = [
    ../../mdls/hypr.nix
    ../../mdls/qksh.nix
  ];

  xdg.configFile."kitty/kitty.conf".force = true;

  programs.fish.loginShellInit = ''
    if test -z "$DISPLAY" -a (tty) = "/dev/tty1"
      exec start-hyprland
    end
  '';

  programs.kitty = {
    enable = true;
    extraConfig = ''
      include ~/.cache/wal/colors-kitty.conf
      shell fish
      shell_integration enabled
      font_family JetBrainsMono Nerd Font
      font_size 11
      cursor_trail 3
      cursor_trail_decay 0.1 0.4
      cursor_shape beam
      cursor_blink_interval 1
      shell_integration no-cursor
      confirm_os_window_close 0
      allow_remote_control yes
      background_opacity 1
      background_blur 1
      dynamic_background_opacity 1
      scrollbar_handle_opacity 0
      scrollbar_track_opacity 0
      scrollbar_track_hover_opacity 0
    '';
  };

  home.pointerCursor = {
    gtk.enable = true;
    x11.enable = true;
    package = pkgs.kdePackages.breeze;
    name = "breeze_cursors";
    size = 16;
  };

  home.sessionVariables = {
    XCURSOR_THEME = "breeze_cursors";
    XCURSOR_SIZE = "16";
    QT_CURSOR_SIZE = "16";
  };
}