summaryrefslogtreecommitdiff
path: root/software/common.nix
blob: bec94248b293c10183cd31a04687bbb90d14b710 (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
{environment, pkgs, services, programs, ...}:

{
  environment.systemPackages = with pkgs; [
    bluetuith
    zathura
    firefox
    mpv
    imv
    btop
    mlocate

    # File Manager and it's preview stuff
    lf
    file
    poppler_utils # for pdftocairo
    chafa # for sixels
    lynx  # for html
    imagemagick # for convert
    ffmpegthumbnailer # for video thumbnails
    atool # for archives
    odt2txt # for libreoffice previews
    xlsx2csv # for excel
    libwebp # for  webp images
    djvulibre # for dejaVu
    mediainfo # audio file info
    bat # cute cat

    # compression/decompression tools
    zip
    unzip
    p7zip

    vesktop # wayland friendly discord client

    obsidian
    ripgrep

    # Run windows apps with linux
    winetricks
    wineWowPackages.staging

  ];

  programs.nix-ld = {
    enable = true;
    libraries = with pkgs; [

      # Needed for scarlett-mixer
      pango
      cairo
      glib
      gtk4
      gtk3
      dbus-glib
      gobject-introspection
      harfbuzz
      libGL
      libGLU
      alsa-lib
      xorg.libX11

    ];
  };
  services.pcscd.enable = true;
  programs.gnupg.agent = {
    enable = true;
    enableSSHSupport = true;
  };

}