summaryrefslogtreecommitdiff
path: root/modules/home-manager/default.nix
blob: 7b91f7487280baf6e48b7fe83f2f67ca213247ac (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{ pkgs, lib, config, inputs, ... }:

{
  imports = [
    ./hypr
    #./mangowc
    ./git.nix
    # ./vscodium.nix
    ./kitty.nix
    ./zen-browser.nix
    ./obs.nix
    # ./spicetify.nix
    ./yazi.nix
    ./fastfetch.nix
    ./gaming.nix
    # ./rbw.nix
    ./nvf.nix
    ./lazygit.nix
    ./spotify-player.nix
  ];

  home.packages = with pkgs; [
    dconf
    bitwarden-desktop
    hyprshot
    wineWow64Packages.stable
    winetricks
    motrix
    flashprint
    gvfs
    brave
    hyprpicker
    discord
    openvpn
    qbittorrent
    zoom-us
    obsidian
    cryptomator
    networkmanagerapplet
    libreoffice
    gimp3
    vlc
    ungoogled-chromium
    audacity
    speedtest-cli
    kid3
    feishin
    bluetui
    btop
    openjdk
    thunderbird
  ];

  home.sessionVariables = {
    EDITOR = "vi";
    VISUAL = "vi";
  };

  xdg.configFile."mimeapps.list".force = true;

  xdg.mimeApps = {
    enable = true;

    defaultApplications = {
      "application/pdf" = "zen-twilight.desktop";
      "application/javascript" = "userapp-kitty vi-DARLE3.desktop";
      "application/toml" = "userapp-kitty vi-DARLE3.desktop";
      "application/vnd.microsoft.portable-executable" = "wine-desktop";
      "application/zip" = "lxqt-archiver.desktop";
      "inode/directory" = "userapp-kitty yazi-X3BEF3.desktop";
      "text/html" = "zen-twilight.desktop";
      "text/plain" = "userapp-kitty vi-DARLE3.desktop";
      "x-scheme-handler/about" = "zen-twilight.desktop";
      "x-scheme-handler/http" = "zen-twilight.desktop";
      "x-scheme-handler/https" = "zen-twilight.desktop";
      "x-scheme-handler/unknown" = "zen-twilight.desktop";
    };
  };
}