summary refs log tree commit diff stats
path: root/user/settings/user-interface.nix
blob: 3574fda7653d7dec3dbdfeae4ac612a8c283e19b (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
{ 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;
    [
      inter
      input-fonts
      # see https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/data/fonts/nerdfonts/shas.nix
      (nerdfonts.override {
        fonts = [
          "JetBrainsMono"
          "IBMPlexMono"
          "ZedMono"
          "Recursive"
          "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";
}