nixconfigs/home/home.nix
2018-10-23 10:18:33 +02:00

234 lines
3.2 KiB
Nix

{ pkgs, ... }:
with pkgs;
let
unstable = import <nixos-unstable> {};
mybrowser = firefox;
desktopApps = [
mybrowser
calibre
dino
zotero
keepassxc
ding
aspell
aspellDicts.de
aspellDicts.en
# for kate/KDE applications
hunspellDicts.de-de
hunspellDicts.en-us
hunspellDicts.en-gb-ise
seafile-client
alacritty
libreoffice-fresh
backintime-common
anki
signal-desktop
(tor-browser-bundle-bin.override {mediaSupport=true;pulseaudioSupport=true;})
virtualbox
pdfpc
quaternion
#nheko
gpx-viewer
gpxsee
(corebird.overrideAttrs (oldAttrs: {src = fetchFromGitHub {
owner = "IBBoard";
repo = "corebird";
rev = "bc758889a5ac304101001c36eafdb219a0acfda7";
sha256 = "1yiflxvswrybabqq5cd6x9i740560c23p58gvcn9b6riwhxzrlb9";
};}))
];
graphicsApps = [
gimp
inkscape
darktable
hugin
luminanceHDR
exiftool
]
++ (with gimpPlugins; [
resynthesizer2
fourier
lqrPlugin
]);
multimediaApps = [
mpv
vlc
amarok-kf5
clementine
youtube-dl
sonic-pi
musescore
audacity
avidemux
linphone
picard
];
cliApps = [
myVim
htop
tmux
httpie
ponysay
gti
mosh
openssh
sshfsFuse
cryfs
sshuttle
thefuck
gnupg
unar
pwgen
pandoc
agrep
pdfgrep
torsocks
ncdu
psmisc # for killall
dos2unix
];
nixHelpers = [
nox
];
kdeTools = with kdeApplications; [
okular
redshift-plasma-applet
gwenview
yakuake
kmail
kontact
korganizer
akonadi-mime #for KOrganizer
kaddressbook
kdeconnect
dolphin
spectacle
kate
kleopatra
qdirstat
ark
kwalletmanager
#ktouch
konversation
okteta
ktorrent
krdc
skanlite
akonadiconsole
]
++ (with kdeFrameworks; [
networkmanager-qt
kcrash
plasma5.breeze-gtk
libsForQt5.phonon-backend-vlc
#(phonon-backend-vlc.override {qtbase=qt5.qtbase; qtx11extras=qt5.qtx11extras;})
]);
devTools = [
curl
httpie
gdb
strace
ltrace
valgrind
zeal
gcc
kdevelop
qtcreator
shellcheck
mtr
wireshark
];
latexApps = [
texmaker
# customize texlive installation
(texlive.combine {
inherit (texlive)
scheme-medium
xetex
luatex
unicode-math
fontspec
collection-binextra
collection-fontsrecommended
collection-latex
collection-latexextra
collection-latexrecommended
collection-langgerman
IEEEtran
moderncv
acronym
ccicons
koma-script;
})
];
pythonApps = with python3Packages; [
notebook
ipython
pip
numpy
matplotlib
jedi
];
fonts = [
# TODO: vollkorn
# TODO: humor-sans
comic-neue
source-sans-pro
source-serif-pro
fira-code
];
# TODO: make a nix-shell expression out of this
computerVisionTooling = [
opencvDebug
];
in
{
home.packages = ([]
++ desktopApps
++ latexApps
++ pythonApps
++ graphicsApps
++ cliApps
++ multimediaApps
++ devTools
++ kdeTools
++ fonts
++ nixHelpers
++ computerVisionTooling
);
programs.home-manager.enable = true;
# programs.home-manager.path = https://github.com/rycee/home-manager/archive/release-18.09.tar.gz;
programs.home-manager.path = "/home/spiollinux/src/home-manager";
programs.direnv =
{ enable = true;
enableZshIntegration = true;
};
# programs.vim =
# { enable = true;
# };
services.gpg-agent =
{ enable = true;
enableSshSupport = true;
};
}