1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/packages/default.nix

193 lines
4.7 KiB
Nix
Raw Normal View History

2021-01-15 14:09:06 +01:00
{ pkgs, lib, ... }:
let
hc = pkgs.callPackage <stockholm/tv/5pkgs/simple/hc.nix> {};
worldradio = pkgs.callPackage <niveum/packages/worldradio.nix> {};
nixpkgs-unstable = import <nixpkgs-unstable> { config.allowUnfree = true; };
2021-05-17 07:08:11 +02:00
recht = pkgs.callPackage (pkgs.fetchFromGitHub {
owner = "kmein";
repo = "recht";
rev = "0.6.2";
sha256 = "08gnrnz3lwh8h6fyga56yfy9qryzm89xbshm7wpxfyxf2pmp1qfx";
}) {};
2020-12-03 10:08:47 +01:00
in {
imports = [
./krebs.nix
2019-08-18 11:17:28 +02:00
./writing.nix
2019-08-18 19:41:52 +02:00
./python.nix
./haskell
2019-09-05 07:18:08 +02:00
{
2020-06-10 17:37:25 +02:00
environment.systemPackages = let
# nightly = pkgs.rustChannelOf {
# date = "2019-12-27";
# channel = "nightly";
# };
2020-04-09 16:58:21 +02:00
in with pkgs; [
htmlTidy
nodePackages.csslint
nodePackages.jsonlint
nodePackages.prettier
nodePackages.typescript
nodePackages.yarn
nodejs
nodePackages.javascript-typescript-langserver
tokei # count lines of code
gnumake
binutils # for strip, ld, ...
# nightly.rust
2020-04-09 16:58:21 +02:00
shellcheck
];
}
];
2020-04-09 16:58:21 +02:00
environment.systemPackages = with pkgs; [
# INTERNET
aria2
firefox
2020-04-09 16:58:21 +02:00
tdesktop
w3m
wget
whois
ix
2020-05-14 10:31:42 +02:00
nur.repos.kmein.python3Packages.instaloader
2020-11-02 21:43:54 +01:00
dnsutils
2020-04-09 16:58:21 +02:00
# mtr # my traceroute
# FILE MANAGERS
ranger
2020-12-20 19:22:15 +01:00
pcmanfm
2020-04-09 16:58:21 +02:00
# MEDIA
ffmpeg
imagemagick
2021-03-19 16:58:39 +01:00
exiftool
2020-04-15 16:02:51 +02:00
scrot
2020-04-09 16:58:21 +02:00
# ARCHIVE TOOLS
unzip
unrar
p7zip
zip
# MONITORS
htop
iotop # I/O load monitor
iftop # interface bandwidth monitor
lsof # list open files
psmisc # for killall, pstree
# SHELL
bat # better cat
fd # better find
file # determine file type
dos2unix
ncdu # ncurses disk usage
python3Packages.jsonschema # json validation
jq # json toolkit
2021-01-18 18:05:01 +01:00
pup # html toolkit
nixpkgs-unstable.htmlq
2020-04-09 16:58:21 +02:00
xsv # csv toolkit
xmlstarlet # xml toolkit
manpages
posix_man_pages
# moreutils # for parallel, sponge, combine
tree
2021-06-01 19:14:00 +02:00
fuse_exfat # to mount windows drives
parallel # for parallel, since moreutils shadows task spooler
2020-04-09 16:58:21 +02:00
ripgrep # better grep
rlwrap
progress # display progress bars for pipes
up # universal plumber (piping tool)
# HARDWARE TOOLS
usbutils # for lsusb
pciutils # for lspci
lshw # for lshw
arandr # xrandr for noobs
libnotify # for notify-send
xclip # clipboard CLI
2020-05-03 00:17:28 +02:00
dragon-drop # drag and drop
2020-04-09 16:58:21 +02:00
xorg.xkill # kill by clicking
audacity
calibre
inkscape
2021-01-15 14:09:06 +01:00
nixpkgs-unstable.zoom-us # video conferencing
2020-04-09 16:58:21 +02:00
pdfgrep # search in pdf
pdftk # pdf toolkit
2021-03-19 16:58:39 +01:00
poppler_utils # pdf toolkit
2021-07-16 12:42:26 +02:00
foxitreader # for viewing pdf annotations
2020-12-28 19:50:51 +01:00
xournalpp # for annotating pdfs
2021-05-05 14:39:00 +02:00
pdfpc # presenter console for pdf slides
2020-12-03 10:08:47 +01:00
hc # print files as qr codes
2020-04-09 16:58:21 +02:00
youtubeDL
bc # calculator
pari # gp -- better calculator
2021-02-14 11:21:30 +01:00
scripts.infschmv
2021-09-23 21:25:50 +02:00
scripts.qrpaste
2021-09-16 16:06:10 +02:00
scripts.new-mac # get a new mac address
2021-05-13 21:34:16 +02:00
scripts.scanned
scripts.default-gateway
scripts.showkeys-toggle
scripts.favicon
scripts.ipa # XSAMPA to IPA converter
scripts.playlist
scripts.mpv-tv
2020-12-16 22:25:04 +01:00
scripts.devanagari
scripts.betacode # ancient greek betacode to unicode converter
2021-04-07 09:45:36 +02:00
scripts.meteo
2020-05-14 10:31:42 +02:00
nur.repos.kmein.mahlzeit
2021-05-17 07:08:11 +02:00
recht
2020-07-11 20:43:19 +02:00
# nur.repos.kmein.slide
nur.repos.kmein.vimv
scripts.swallow # window swallowing
scripts.genius
scripts.instaget
scripts.literature-quote
scripts.nav # json navigation
scripts.n
2020-04-15 00:10:30 +02:00
scripts.notetags
2020-07-11 20:43:19 +02:00
scripts.booksplit
2020-09-10 16:29:14 +02:00
scripts.dmenurandr
2020-10-28 20:27:05 +01:00
scripts.interdimensional-cable
2020-09-14 18:25:51 +02:00
scripts.dmenubluetooth
2020-07-11 20:43:19 +02:00
scripts.manual-sort
scripts.much-scripts
scripts.dns-sledgehammer
ts
scripts.vg
scripts.fkill
scripts.wttr
2021-02-04 18:40:11 +01:00
scripts.boetlingk
2021-03-04 18:54:48 +01:00
scripts.unicodmenu
scripts.trans
2021-02-04 18:40:11 +01:00
scripts.liddel-scott-jones
2021-04-01 11:00:28 +02:00
scripts.mpv-radio
2020-04-09 16:58:21 +02:00
# kmein.slide
scripts.tolino-screensaver
2021-03-11 10:26:19 +01:00
scripts.rfc
scripts.tag
scripts.menu-calc
2020-04-09 16:58:21 +02:00
nix-prefetch-git
scripts.nix-git
2020-06-09 21:38:16 +02:00
nixfmt
2020-04-09 16:58:21 +02:00
par
qrencode
wtf
(pkgs.writers.writeDashBin "worldradio" ''
shuf ${worldradio} | ${pkgs.findutils}/bin/xargs ${pkgs.mpv}/bin/mpv --no-video
'')
2021-08-11 13:16:46 +02:00
(pkgs.writers.writeDashBin "chats" ''
${pkgs.openssh}/bin/ssh makanek "cd /var/lib/weechat/logs && grep --ignore-case --color=always --recursive $@" | ${pkgs.less}/bin/less --raw-control-chars
'')
2021-04-08 19:52:37 +02:00
(pkgs.writers.writeDashBin "ncmpcpp-zaatar" ''MPD_HOST=${(import <niveum/lib/local-network.nix>).zaatar} exec ${pkgs.ncmpcpp}/bin/ncmpcpp "$@"'')
2021-07-08 12:47:14 +02:00
(pkgs.writers.writeDashBin "mpc-zaatar" ''MPD_HOST=${(import <niveum/lib/local-network.nix>).zaatar} exec ${pkgs.mpc_cli}/bin/mpc "$@"'')
2021-04-08 19:52:37 +02:00
2021-09-11 07:52:17 +02:00
nixpkgs-unstable.spotify
2021-10-08 20:04:05 +02:00
ncspot
playerctl
nix-index
scripts.nix-index-update
2020-04-09 16:58:21 +02:00
];
}