2021-02-12 21:12:03 +01:00
|
|
|
{ lib, nixosConfig, pkgs, ... }:
|
2021-01-01 13:55:47 +01:00
|
|
|
let
|
2021-01-03 12:55:56 +01:00
|
|
|
waifu2x-photo-models = pkgs.stdenvNoCC.mkDerivation {
|
2021-01-01 13:55:47 +01:00
|
|
|
name = "waifu2x-photo-models";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "nagadomi";
|
|
|
|
repo = "waifu2x";
|
|
|
|
rev = "v0.13.2";
|
|
|
|
sha256 = "1dqyp1gvw53gs3a1mfylxhj2kghwb3gx1ybsynzbanq84vx6grs2";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
|
|
cp -r $src/models/vgg_7/photo $out
|
|
|
|
'';
|
2021-01-03 13:03:12 +01:00
|
|
|
|
|
|
|
meta.license = lib.licenses.mit;
|
2021-01-01 13:55:47 +01:00
|
|
|
};
|
|
|
|
# waifu2x-converter-cpp wrapper for real life images
|
|
|
|
waifu2x-photo = pkgs.writeShellScriptBin "waifu2x-photo" ''
|
2021-05-24 22:12:33 +02:00
|
|
|
${pkgs.waifu2x-converter-cpp}/bin/waifu2x-converter-cpp \
|
2021-01-01 13:55:47 +01:00
|
|
|
--model-dir ${waifu2x-photo-models} \
|
|
|
|
$@
|
|
|
|
'';
|
|
|
|
in
|
2020-12-05 19:44:41 +01:00
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# batch processing/automation
|
|
|
|
parallel # parallel batch processing
|
|
|
|
yq # sed for yaml
|
|
|
|
|
|
|
|
# unix tools on steroids
|
2021-07-18 22:54:46 +02:00
|
|
|
du-dust # intuitive du
|
2020-12-05 19:44:41 +01:00
|
|
|
exa # better ls
|
|
|
|
fd # better find
|
|
|
|
ripgrep # better grep
|
|
|
|
|
|
|
|
# file tools
|
|
|
|
aria # multithreaded http/ftp/bittorrent download manager
|
|
|
|
hexyl # user friendly hex file viewer
|
|
|
|
hyperfine # cli benchmarking
|
|
|
|
mktorrent # bittorrent seed file generator
|
2021-12-17 16:08:31 +01:00
|
|
|
qrencode # qr code generator
|
2020-12-05 19:44:41 +01:00
|
|
|
rclone # rsync for cloud storage
|
|
|
|
tokei # fast cloc
|
|
|
|
xdelta # binary diff
|
|
|
|
|
|
|
|
# file format tools
|
|
|
|
imagemagick # image conversion
|
2021-02-12 21:12:03 +01:00
|
|
|
(p7zip.override { enableUnfree = nixosConfig.sbruder.unfree.allowSoftware; }) # 7z cli (with optional rar support)
|
2020-12-05 19:44:41 +01:00
|
|
|
pdftk # pdf multitool
|
|
|
|
|
|
|
|
# network tools
|
|
|
|
dnsutils # dig
|
2021-05-24 22:12:33 +02:00
|
|
|
dogdns # better dig
|
2022-09-11 01:02:30 +02:00
|
|
|
miniserve # small http server
|
2020-12-05 19:44:41 +01:00
|
|
|
sshfs # mount remote host
|
|
|
|
vnstat # client for vnstatd
|
|
|
|
whois # whois client
|
|
|
|
zmap # scanner for large address spaces
|
|
|
|
|
|
|
|
# system tools
|
|
|
|
libva-utils # vainfo
|
|
|
|
|
|
|
|
# clients
|
|
|
|
hcloud # cli for Hetzner Cloud
|
|
|
|
libnotify # notify-send
|
|
|
|
|
|
|
|
# function eye candy
|
|
|
|
pv # monitor progress in pipe
|
|
|
|
|
|
|
|
# end user programs
|
|
|
|
apacheHttpd # for htpasswd
|
2021-05-24 22:12:33 +02:00
|
|
|
libqalculate # flexible calculator for humans
|
2021-06-25 22:15:01 +02:00
|
|
|
taskell # tui kanban board
|
2020-12-05 19:44:41 +01:00
|
|
|
|
|
|
|
# passwords
|
2021-04-08 13:36:44 +02:00
|
|
|
mkpasswd # crypt frontend
|
2020-12-05 19:44:41 +01:00
|
|
|
pwgen
|
|
|
|
pwgen-secure # password generator
|
|
|
|
xkcdpass # memorable password generator
|
|
|
|
|
|
|
|
# misc
|
2021-01-07 17:09:22 +01:00
|
|
|
bwrap-helper # helper to create bubblewrap containers
|
2021-07-25 08:47:59 +02:00
|
|
|
dynamic-colors # on-the-fly color scheme switching
|
2022-09-11 01:21:59 +02:00
|
|
|
python3Packages.ipython # better python repl (useful for one-liners)
|
2021-07-25 08:47:59 +02:00
|
|
|
toilet # free figlet
|
2020-12-05 19:44:41 +01:00
|
|
|
|
|
|
|
# git
|
|
|
|
gitAndTools.pre-commit # pre-commit hook for git
|
|
|
|
|
|
|
|
# nix tools
|
2020-12-25 11:42:49 +01:00
|
|
|
nixpkgs-fmt # format nix expressions
|
2020-12-22 15:25:22 +01:00
|
|
|
nixpkgs-review # review nixpkgs pull request
|
2020-12-05 19:44:41 +01:00
|
|
|
|
|
|
|
## media
|
|
|
|
|
|
|
|
# audio and video
|
|
|
|
ffmpeg-full # A/V multitool
|
|
|
|
mediainfo # show information about media files
|
2021-05-24 22:12:33 +02:00
|
|
|
streamlink # video stream downloader
|
|
|
|
waifu2x-converter-cpp # super-resolution for anime-style images
|
2021-02-01 20:51:34 +01:00
|
|
|
waifu2x-photo # waifu2x-converter-cpp for real life photos
|
2020-12-05 19:44:41 +01:00
|
|
|
|
|
|
|
# audio
|
2021-04-18 10:40:33 +02:00
|
|
|
cyanrip # cd ripper
|
2020-12-05 19:44:41 +01:00
|
|
|
flac # flac encoder
|
2021-04-17 23:17:17 +02:00
|
|
|
opusTools # opus encoder
|
2020-12-05 19:44:41 +01:00
|
|
|
shntool # split audio with cue
|
|
|
|
sidplayfp # SID chiptune player
|
|
|
|
sox # “Swiss Army knife of audio manipulation”
|
|
|
|
|
|
|
|
# images
|
|
|
|
exiftool # manipulate EXIF meta data
|
2021-05-16 17:59:21 +02:00
|
|
|
gallery-dl # image gallery downloader
|
2020-12-05 19:44:41 +01:00
|
|
|
jpegoptim # lossless jpeg optimiser
|
|
|
|
libwebp # tools for webp image format
|
2021-06-02 23:30:16 +02:00
|
|
|
oxipng # lossless png optimiser
|
2020-12-05 19:44:41 +01:00
|
|
|
pngcrush
|
|
|
|
pngquant # lossy png optimisers
|
|
|
|
|
|
|
|
# documents
|
|
|
|
mupdf # document (pdf) viewer and tools
|
2021-01-30 23:27:53 +01:00
|
|
|
poppler_utils # pdf manipulation tools
|
2022-05-05 17:42:41 +02:00
|
|
|
] ++ lib.optionals (!nixosConfig.sbruder.gui.enable) [
|
|
|
|
mkvtoolnix-cli # matroska (de-)muxing
|
2021-02-12 21:12:03 +01:00
|
|
|
] ++ lib.optionals nixosConfig.sbruder.gui.enable [
|
2020-12-05 19:44:41 +01:00
|
|
|
# communication
|
|
|
|
claws-mail # email client that looks ugly but just works
|
2021-11-09 21:45:50 +01:00
|
|
|
firefox-esr # a bad browser
|
2022-05-31 14:35:00 +02:00
|
|
|
mumble # VoIP group chat
|
2020-12-05 19:44:41 +01:00
|
|
|
|
|
|
|
# creative/design
|
|
|
|
openscad # parametric/procedural 3d modelling
|
|
|
|
inkscape # vector graphics editor
|
|
|
|
|
2020-12-08 18:59:35 +01:00
|
|
|
# audio and video
|
2022-04-01 18:03:29 +02:00
|
|
|
libbluray # includes command line tools
|
2022-05-05 17:42:41 +02:00
|
|
|
mkvtoolnix # matroska (de-)muxing with gui
|
2020-12-08 18:59:35 +01:00
|
|
|
wf-recorder # wlroots screen recorder
|
|
|
|
|
2020-12-05 19:44:41 +01:00
|
|
|
# documents
|
|
|
|
calibre # ebook library
|
|
|
|
|
|
|
|
# office
|
|
|
|
aspellDicts.de
|
|
|
|
aspellDicts.en
|
2021-07-07 18:58:36 +02:00
|
|
|
gnome.evince # pdf viewer
|
2022-05-11 08:44:22 +02:00
|
|
|
gnucash # bookkeeping
|
2020-12-05 19:44:41 +01:00
|
|
|
hunspellDicts.de-de
|
|
|
|
hunspellDicts.en-gb-ise # dictionary
|
|
|
|
libreoffice # office suite
|
2022-12-10 14:49:16 +01:00
|
|
|
rnote # notebook
|
2020-12-05 19:44:41 +01:00
|
|
|
xournalpp # notebook
|
|
|
|
xsane # scanning tool
|
|
|
|
|
|
|
|
# tools
|
2021-02-27 16:55:18 +01:00
|
|
|
antimicroX # gamepad to keyboard/mouse mapping
|
2020-12-05 19:44:41 +01:00
|
|
|
filezilla # ftp client
|
|
|
|
gparted # gui for parted
|
2021-05-24 22:12:33 +02:00
|
|
|
qalculate-gtk # flexible calculator
|
2021-12-28 10:31:50 +01:00
|
|
|
remmina # remote desktop client
|
2021-01-06 23:39:23 +01:00
|
|
|
scrcpy # stream/control android phones over adb
|
2022-03-30 19:33:06 +02:00
|
|
|
v4l-utils # video4linux configuration
|
2020-12-05 19:44:41 +01:00
|
|
|
xfce.thunar # graphical file manager
|
2022-09-11 01:02:30 +02:00
|
|
|
] ++ lib.optionals (nixosConfig.sbruder.full) [
|
|
|
|
# tools
|
|
|
|
gdb # debugger (for coredumpctl debug)
|
|
|
|
gdrive # cli downloader for google drive
|
2023-01-21 21:29:34 +01:00
|
|
|
(ripgrep-all.overrideAttrs (o: { tesseract = tesseract.override { enableLanguages = [ "deu" "eng" ]; }; })) # ripgrep for complex (binary) files
|
2021-02-12 21:12:03 +01:00
|
|
|
] ++ lib.optionals (nixosConfig.sbruder.gui.enable && nixosConfig.sbruder.full) [
|
2021-01-20 16:23:18 +01:00
|
|
|
# communication
|
2022-09-11 01:21:59 +02:00
|
|
|
ungoogled-chromium # for most webrtc applications and for cross-browser testing
|
2021-01-20 16:23:18 +01:00
|
|
|
|
|
|
|
# creative/design
|
|
|
|
blender # 3d animation
|
2022-08-13 17:20:54 +02:00
|
|
|
darktable # raw image processor
|
2021-01-20 16:23:18 +01:00
|
|
|
gimp-with-plugins # bitmap image editor
|
|
|
|
|
|
|
|
# audio
|
2021-12-21 17:41:38 +01:00
|
|
|
audacity # audio editor
|
2022-09-11 01:02:30 +02:00
|
|
|
easyeffects # signal processing for pipewire
|
2021-01-20 16:23:18 +01:00
|
|
|
picard # musicbrainz tagger
|
|
|
|
|
|
|
|
# office
|
|
|
|
jameica # application framework (used for hibiscus online banking)
|
2021-03-31 10:02:10 +02:00
|
|
|
pdfarranger # pdf multitool
|
2021-05-13 13:51:06 +02:00
|
|
|
textidote # LaTeX document linter
|
2021-02-12 21:12:03 +01:00
|
|
|
] ++ lib.optionals (nixosConfig.sbruder.gui.enable && !nixosConfig.sbruder.full) [
|
2021-01-20 16:23:18 +01:00
|
|
|
# creative/design
|
|
|
|
gimp # without plugins
|
2021-08-28 11:24:51 +02:00
|
|
|
] ++ lib.optionals (nixosConfig.sbruder.gui.enable && nixosConfig.virtualisation.libvirtd.enable) [
|
|
|
|
virt-manager
|
2021-01-01 14:00:32 +01:00
|
|
|
];
|
2020-12-05 19:44:41 +01:00
|
|
|
}
|