summary refs log tree commit diff stats
path: root/user/settings/user-interface.nix
blob: 29de4439fc04e3214e219c8d9b6a4b0d75fe04e3 (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
53
54
55
56
57
58
{ config
, pkgs
, ...
}:
let
  inherit (pkgs) stdenv;
in
{
  imports = [
    ./kitty.nix
  ];

  services.ssh-agent = {
    enable = stdenv.hostPlatform.isLinux;
  };

  programs.librewolf = {
    enable = stdenv.hostPlatform.isLinux;
    package = pkgs.librewolf.override {
      nativeMessagingHosts = with pkgs; [
        tridactyl-native
        plasma-browser-integration
        keepassxc
      ];
    };
  };
  home.packages = with pkgs;
    [
      hack-font
      ibm-plex
      inter
      input-fonts
      jetbrains-mono
      meslo-lg
      recursive
      # see https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/data/fonts/nerdfonts/shas.nix
      (nerdfonts.override {
        fonts = [
          "JetBrainsMono"
          "IBMPlexMono"
          "iA-Writer"
          "NerdFontsSymbolsOnly"
        ];
      })
    ]
    ++ lib.optionals (!stdenv.isDarwin) (with pkgs; [
      logseq # 0.10.9 is insecure, see ../config.nix
      (discord.override { withOpenASAR = true; })

      zeal
      falkon
      beeper
      kdePackages.neochat
      kdePackages.kleopatra
    ]);
  services.lorri.enableNotifications = true;
  services.emacs.startWithUserSession = "graphical";
}