1
0
mirror of https://github.com/kmein/niveum synced 2026-03-28 23:31:07 +01:00

fix(packages): reorganize

This commit is contained in:
Kierán Meinhardt
2020-04-09 16:58:21 +02:00
parent c5cec7d44c
commit 72c3f63b02
2 changed files with 129 additions and 144 deletions

View File

@@ -2,32 +2,55 @@
{ {
imports = [ imports = [
./krebs.nix ./krebs.nix
./programming.nix
./writing.nix ./writing.nix
./python.nix ./python.nix
./haskell ./haskell
{ {
environment = environment.systemPackages =
let
nightly = pkgs.rustChannelOf {
date = "2019-12-27";
channel = "nightly";
};
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
shellcheck
];
}
{
/*
environment.systemPackages =
let let
package = pkgs.fetchFromGitHub { package = pkgs.fetchFromGitHub {
owner = "kmein"; owner = "kmein";
repo = "mahlzeit"; repo = "mahlzeit";
rev = "85cb6d41e31fdfccbc3f83fd61cce8ef35112562"; rev = "954c0fb3f45815999bc65d003794af6a850b069c";
sha256 = "0n6kc782dqbi64ya5jx5x8dcay2axrz1qbrlk4lyr6qnh241rr73"; sha256 = "046yrr40hjmxkjmwzcvmwb39fxx2v2i6hgdxrjfiwilzvhikarrg";
}; };
mahlzeit = pkgs.haskellPackages.callPackage package {}; mahlzeit = pkgs.haskellPackages.callPackage package {};
in { in [ mahlzeit ];
systemPackages = [ mahlzeit ]; */
};
} }
{ ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
] ++ [ # internet # INTERNET
aria2 aria2
firefox firefox
tor-browser-bundle-bin tor-browser-bundle-bin
qutebrowser qutebrowser
# thunderbird
tdesktop tdesktop
w3m w3m
wget wget
@@ -35,75 +58,66 @@
whois whois
ddgr ddgr
ix ix
# thunderbird
# python3Packages.instaloader # python3Packages.instaloader
# mtr # my traceroute # mtr # my traceroute
] ++ [ # FILE MANAGERS
ranger
gnome3.nautilus gnome3.nautilus
] ++ [ # media # MEDIA
ffmpeg ffmpeg
imagemagick imagemagick
sxiv sxiv
] ++ [ # archive # ARCHIVE TOOLS
unzip unzip
unrar unrar
p7zip p7zip
zip zip
] ++ [ # monitor # MONITORS
htop htop
iotop iotop # I/O load monitor
iftop iftop # interface bandwidth monitor
lsof lsof # list open files
psmisc psmisc # for killall, pstree
] ++ [ # shell # SHELL
bat bat # better cat
du-dust # better du
fd # better find
file # determine file type
dos2unix dos2unix
ncdu ncdu # ncurses disk usage
du-dust
fd
file
python3Packages.jsonschema # json validation python3Packages.jsonschema # json validation
jq # json manipulation jq # json toolkit
jo # json creation jo # json creation
kmein.nav # json navigation xsv # csv toolkit
xsv xmlstarlet # xml toolkit
xmlstarlet
manpages manpages
posix_man_pages posix_man_pages
moreutils moreutils # for parallel, sponge, combine
ranger ripgrep # better grep
ripgrep
rlwrap rlwrap
progress # display progress bars for pipes progress # display progress bars for pipes
up # universal plumber (piping tool) up # universal plumber (piping tool)
] ++ [ # hardware # HARDWARE TOOLS
usbutils usbutils # for lsusb
pciutils pciutils # for lspci
lshw lshw # for lshw
] ++ [ # graphical arandr # xrandr for noobs
arandr libnotify # for notify-send
libnotify xclip # clipboard CLI
xclip xorg.xkill # kill by clicking
xorg.xkill
] ++ [ # programming
nix-prefetch-git
] ++ [ # media
audacity audacity
calibre calibre
inkscape inkscape
xpdf pdfgrep # search in pdf
pdfgrep pdftk # pdf toolkit
pdftk
spotify spotify
python3Packages.spotify-cli-linux python3Packages.spotify-cli-linux
youtubeDL youtubeDL
] ++ [ # math bc # calculator
bc
] ++ [ # shell
pass
# (pass.withExtensions (ext: [ext.pass-otp]))
fzf fzf
pass
gnupg gnupg
# kmein.mnemosyne
kmein.favicon kmein.favicon
# kmein.bvg # kmein.bvg
kmein.daybook kmein.daybook
@@ -112,18 +126,21 @@
kmein.genius kmein.genius
kmein.instaget kmein.instaget
kmein.literature-quote kmein.literature-quote
kmein.nav # json navigation
kmein.n kmein.n
kmein.vf
kmein.vg
kmein.fkill
kmein.odyssey kmein.odyssey
kmein.wttr kmein.wttr
# kmein.slide # kmein.slide
kmein.tolino-screensaver kmein.tolino-screensaver
memo memo
nix-prefetch-git
nix-git nix-git
# fzf-wrappers
par par
qrencode qrencode
wtf wtf
]; ];
}
];
} }

View File

@@ -1,32 +0,0 @@
{ pkgs, ... }:
let
nightly = pkgs.rustChannelOf {
date = "2019-12-27";
channel = "nightly";
};
in {
imports = [
{
environment.systemPackages = with pkgs; [
htmlTidy
nodePackages.csslint
nodePackages.jsonlint
nodePackages.prettier
nodePackages.typescript
nodePackages.yarn
nodejs
nodePackages.javascript-typescript-langserver
];
}
];
environment.systemPackages = with pkgs; [
tokei # count lines of code
gnumake
gcc
binutils # strip, ld, ...
# rustup
nightly.rust
shellcheck
];
}