about summary refs log tree commit diff stats
path: root/home-manager/packages/default.nix
blob: 5548797d89fc059bdf120f3394dae4769d3e31f2 (plain) (blame)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
# vim: ts=2
{
  config,
  pkgs,
  home-manager,
  inputs,
  user_js,
  impermanence,
  snap-sync,
  ...
}:
with pkgs; let
  snap-sync-pkgs = pkgs.writeShellScriptBin "snap-sync" (builtins.readFile "${snap-sync}/bin/snap-sync");

  Gui = {
    Browsers = [
      ungoogled-chromium # web browser (only for web programming)
    ];

    ImageManipulation = [
      krita # new, and better (KDE)
      gimp # conservative, and old (GNOME)
    ];

    Social = [
      mumble # voice chat software (client)
    ];

    Misc = [
      kalzium # Periodic Table of Elements
      keepassxc # password manager
      onlykey # OnlyKey Chrome Desktop App
      steam # Valve's digital software delivery system
    ];
  };

  TuiCli = {
    Networking = {
      OneOffThings = [
        #bind # A complete, highly portable implementation of the DNS protocol
        #firewalld # Firewall daemon with D-Bus interface
        #ngrep # A grep-like utility that allows you to search for network packets on an interface.
        #openbsd-netcat # TCP/IP swiss army knife. OpenBSD variant.
      ];

      Misc = [
        lftp # FTP client
      ];
    };

    EyeCandy = [
      banner # Print large banners to ASCII terminals
      cmatrix # A curses-based scrolling 'Matrix'-like screen
      hyfetch # Neofetch with LGBTQ pride flags.
    ];

    Backups = [
      # TODO rclone # Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage
    ];

    Misc = [
      android-file-transfer # Android MTP client with minimalistic UI
      python39Packages.docx2txt # Recovers text from DOCX files, with good formatting.
      xdg-ninja # A shell script which checks your $HOME for unwanted files and directories.
      yokadi # Command line oriented, sqlite powered, todo list
    ];

    WM = {
      river = [river]; # A dynamic tiling wayland compositor

      CLITools = [
        lswt # List Wayland toplevels
        wl-clipboard # Command-line copy/paste utilities
        # DONE wlopm # Wayland output power management.
        # DONE wlr-randr # Utility to manage outputs
      ];

      Components = [
        # DONE yambar # status panel
        # DONE swaybg # Wallpaper
        # DONE bemenu # Run prompt
      ];

      Media = [
        # TODO slurp # Select a region (used in the coordinates for grim/maim)
        # TODO grim # Screenshot utility
        #maim # Screenshot utility
        wf-recorder # Screen recorder
      ];
    };

    LF = {
      Previewer = [
        # TODO chafa # Image-to-text converter
        # TODO highlight # source code highlighter
        # TODO mediainfo # Supplies technical and tag information about a video or audio file
        # TODO w3m # Text-based Web browser as well as pager
        # TODO ffmpegthumbnailer # video thumbnailer that can be used by file managers
      ];
    };

    Media = {
      Download = [
        # TODO yt-dlp # A youtube-dl fork with additional features and fixes
        #cclive # Commandline downloader for popular video websites.
      ];

      Manipulate = [
        ffmpeg # Complete solution to record, convert and stream audio and video
      ];

      View = [
        imv # Image viewer
      ];

      Listen = [
        moc # An ncurses console audio player designed to be powerful and easy to use
        pavucontrol # PulseAudio Volume Control
      ];
    };

    Hardware = {
      Storage = [
        #        compsize # Calculate compression ratio of a set of files on Btrfs
        # TODO        smartmontools # Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
      ];

      Input = [
        piper # GTK application to configure gaming mice
      ];

      Printer = [
        # TODO        sane-airscan # SANE - SANE backend for AirScan (eSCL) and WSD document scanners
      ];
    };

    FileListers = [
      tree # A directory listing program displaying a depth indented list of files
      fd # Simple, fast and user-friendly alternative to find
      ripgrep # A search tool that combines the usability of ag with the raw speed of grep
    ];

    Editors = [
      ed # A POSIX-compliant line-oriented text editor
      #sed # GNU stream editor
      #vi # The original ex/vi text editor # TODO
      # DONE neovim # Fork of Vim aiming to improve user experience, plugins, and GUIs
    ];

    Programming = {
      GeneralTools = [
        git # the fast distributed version control system
        glow # Command-line markdown renderer

        # TODO ADD THESE TO A Shell-FLAKE        git-bug # Distributed, offline-first bug tracker embedded in git, with bridges
        # TODO ADD THESE TO A Shell-FLAKE        strace # A diagnostic, debugging and instructional userspace tracer
        # TODO ADD THESE TO A Shell-FLAKE        tokei # A blazingly fast CLOC (Count Lines Of Code) program
        # TODO ADD THESE TO A Shell-FLAKE        onefetch # TODO
      ];

      # TODO add to nix-shell      Rust = [
      # TODO add to nix-shell        rustup # The Rust toolchain installer
      # TODO add to nix-shell        rust-analyzer # Rust compiler front-end for IDEs
      # TODO add to nix-shell      ];

      # See above      Yaml = [
      # See above        yamllint # Linter for YAML files
      # See above      ];

      # TODO See above TeX = [
      # TODO See         zathura # Minimalistic document viewer
      # TODO See         #zathura-pdf-poppler # Adds pdf support to zathura by using the poppler engine
      # TODO See         ltex-ls # LTeX Language Server
      # TODO See         biber # A Unicode-capable BibTeX replacement for biblatex users
      # TODO See         pandoc # Conversion between markup formats
      # TODO See       ];
      # TODO See
      # TODO See       Web = [
      # TODO See         nodePackages_latest.vscode-langservers-extracted # Language servers extracted from VSCode.
      # TODO See         rsass # dart-sass # Sass makes CSS fun again
      # TODO See         nodePackages_latest.prettier # An opinionated code formatter for JS, JSON, CSS, YAML and much more
      # TODO See       ];
      # TODO See
      # TODO See       Shell = [
      # TODO See         dash # POSIX compliant shell that aims to be as small as possible
      # TODO See         shellcheck # Shell script analysis tool
      # TODO See       ];
      # TODO See
      # TODO See       Lua = [
      # TODO See         lua # Powerful lightweight programming language designed for extending applications
      # TODO See         luaformatter # lua-format # LuaFormatter - Code formatter for Lua
      # TODO See         sumneko-lua-language-server #lua-language-server # Lua Language Server coded by Lua
      # TODO See       ];
      # TODO See
      # TODO See       R = [
      # TODO See         R # Language and environment for statistical computing and graphics
      # TODO See       ];
    };
  };
  #expect # A tool for automating interactive applications
  #handlr # Powerful alternative to xdg-utils written in Rust
  #packagekit-qt5 # Qt5 bindings for PackageKit
  #vulkan-radeon # Radeon's Vulkan mesa driver
  #xorg-bdftopcf # Convert X font from Bitmap Distribution Format to Portable Compiled Format

  mapFun = x:
    if builtins.isAttrs x
    then
      if lib.isDerivation x
      then [x]
      else builtins.attrValues x
    else [x];
in {
  nixpkgs.config.allowUnfreePredicate = pkg:
    builtins.elem (lib.getName pkg) [
      "steam"
      "steam-original"
    ];
  home.packages =
    [
      snap-sync-pkgs
    ]
    ++ (with builtins;
      concatLists
      (concatLists [
        (concatMap mapFun
          (concatMap mapFun
            (concatMap mapFun
              (concatMap mapFun
                (concatMap mapFun
                  (concatMap mapFun
                    (attrValues Gui)))))))

        (concatMap mapFun
          (concatMap mapFun
            (concatMap mapFun
              (concatMap mapFun
                (concatMap mapFun
                  (concatMap mapFun
                    (attrValues TuiCli)))))))
      ]));
}