programs: Remove unused programs

They are currently taking up a huge amount of space but I rarely or
never use them.
This commit is contained in:
Simon Bruder 2021-08-28 11:49:21 +02:00
parent 29f0a5017f
commit 74955039f3
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -23,31 +23,6 @@ let
--model-dir ${waifu2x-photo-models} \ --model-dir ${waifu2x-photo-models} \
$@ $@
''; '';
# making paperwork only depend on the tesseract language models I need (< 40
# MiB) than all models (1 GiB) is hard
paperwork =
let
paperwork-backend = (pkgs.python3Packages.paperwork-backend.override {
pyocr = pkgs.python3Packages.pyocr.override {
tesseract = pkgs.tesseract.override {
enableLanguages = [ "deu" "eng" ];
};
};
}).overrideAttrs (o: o // {
# !!! HACK test test_guess_orientation fails and I found no easy way to
# disable it
setuptoolsCheckPhase = "echo disabled";
});
in
pkgs.paperwork.override {
python3Packages = pkgs.python3Packages // {
inherit paperwork-backend;
paperwork-shell = pkgs.python3Packages.paperwork-shell.override {
inherit paperwork-backend;
};
};
};
in in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -208,7 +183,6 @@ in
scrcpy # stream/control android phones over adb scrcpy # stream/control android phones over adb
wev # wayland event monitor wev # wayland event monitor
wl-clipboard # not really gui, but cli tool to manage wayland clipboard wl-clipboard # not really gui, but cli tool to manage wayland clipboard
wxhexeditor # hex editor
xfce.thunar # graphical file manager xfce.thunar # graphical file manager
] ++ lib.optionals (nixosConfig.sbruder.gui.enable && nixosConfig.sbruder.full) [ ] ++ lib.optionals (nixosConfig.sbruder.gui.enable && nixosConfig.sbruder.full) [
# communication # communication
@ -216,9 +190,7 @@ in
# creative/design # creative/design
blender # 3d animation blender # 3d animation
darktable # photo development
gimp-with-plugins # bitmap image editor gimp-with-plugins # bitmap image editor
krita # drawing
# audio # audio
audacity # audio editor audacity # audio editor
@ -226,7 +198,6 @@ in
# office # office
jameica # application framework (used for hibiscus online banking) jameica # application framework (used for hibiscus online banking)
paperwork # document management system
pdfarranger # pdf multitool pdfarranger # pdf multitool
textidote # LaTeX document linter textidote # LaTeX document linter
] ++ lib.optionals (nixosConfig.sbruder.gui.enable && !nixosConfig.sbruder.full) [ ] ++ lib.optionals (nixosConfig.sbruder.gui.enable && !nixosConfig.sbruder.full) [