nixconfigs/home/home.nix

262 lines
4.2 KiB
Nix
Raw Normal View History

2018-09-26 01:30:11 +02:00
{ pkgs, ... }:
with pkgs;
let
unstable = import <nixos-unstable> {};
2018-09-26 01:30:11 +02:00
mybrowser = firefox;
desktopApps = [
mybrowser
2019-01-14 13:24:34 +01:00
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";
};}))
# (corebird.overrideAttrs (oldAttrs: {src = fetchFromGitHub {
# owner = "nextbird";
# repo = "nextbird";
# rev = "c5d1f4edc60634746a0c56d2430ec7933dd8c16e";
# sha256 = "0iwg6brwbbmapsh559my7zwhg91xb88w4kq3sqykc6cd3dvyr9xy";
# };}))
tootle
subsurface
2019-01-09 12:11:11 +01:00
# for research project
twister
2019-01-14 13:24:34 +01:00
];
2018-09-26 01:30:11 +02:00
graphicsApps = [
2019-01-14 13:24:34 +01:00
inkscape
unstable.darktable
2019-01-14 13:24:34 +01:00
hugin
luminanceHDR
exiftool
gimp
2019-01-14 13:24:34 +01:00
]
++ (with gimpPlugins; [
resynthesizer2
fourier
lqrPlugin
]);
2018-09-26 01:30:11 +02:00
multimediaApps = [
mpv
2019-01-14 13:24:34 +01:00
vlc
2019-01-09 12:11:38 +01:00
#amarok-kf5
2019-01-14 13:24:34 +01:00
clementine
youtube-dl
sonic-pi
musescore
audacity
avidemux
linphone
picard
];
2018-09-26 01:30:11 +02:00
cliApps = [
2018-10-14 16:57:02 +02:00
myVim
2019-01-14 13:24:34 +01:00
htop
tmux
httpie
ponysay
gti
2018-11-18 15:12:30 +01:00
tree
lsof
2019-01-14 13:24:34 +01:00
mosh
openssh
sshfsFuse
cryfs
smbnetfs # for FUSE smb mounting
2019-01-14 13:24:34 +01:00
sshuttle
thefuck
gnupg
unar
pwgen
pandoc
agrep
pdfgrep
torsocks
ncdu
psmisc # for killall
dos2unix
reptyr # re-bind running program to other tty
xclip
2019-01-14 13:24:34 +01:00
];
2018-09-26 01:30:11 +02:00
nixHelpers = [
nox
2019-01-14 13:24:34 +01:00
];
kdeTools = with kdeApplications; [
2018-09-26 01:30:11 +02:00
okular
2019-01-14 13:24:34 +01:00
redshift-plasma-applet
gwenview
yakuake
kmail
kontact
korganizer
akonadi-mime #for KOrganizer
kaddressbook
kdeconnect
dolphin
spectacle
kate
kleopatra
qdirstat
ark
kwalletmanager
#ktouch
2019-01-13 23:37:09 +01:00
kcharselect
2019-01-14 13:24:34 +01:00
konversation
okteta
ktorrent
krdc
skanlite
akonadiconsole
plasma-browser-integration
2019-01-14 13:24:34 +01:00
]
++ (with kdeFrameworks; [
2019-01-14 13:24:34 +01:00
networkmanager-qt
kcrash
plasma5.breeze-gtk
libsForQt5.phonon-backend-vlc
#(phonon-backend-vlc.override {qtbase=qt5.qtbase; qtx11extras=qt5.qtx11extras;})
]);
2018-09-26 01:30:11 +02:00
devTools = [
curl
2019-01-14 13:24:34 +01:00
httpie
gdb
strace
ltrace
valgrind
zeal
gcc
kdevelop
qtcreator
shellcheck
mtr
wireshark
ag
bat
2019-01-14 13:24:34 +01:00
];
2018-09-26 01:30:11 +02:00
latexApps = [
texmaker
2019-01-14 13:24:34 +01:00
# 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
fontawesome
2019-01-14 13:24:34 +01:00
koma-script;
})
2018-09-26 01:30:11 +02:00
];
pythonApps = with python3Packages; [
2019-01-14 13:24:34 +01:00
notebook
ipython
pip
numpy
matplotlib
jedi
flake8
mypy
]
++ (with python2Packages; [
]);
2018-09-26 01:30:11 +02:00
fonts = [
2019-01-14 13:24:34 +01:00
comic-neue
source-sans-pro
source-serif-pro
fira-code
ubuntu_font_family
twemoji-color-font
opensans-ttf
2018-10-31 00:20:35 +01:00
# TODO: vollkorn
2019-01-14 13:24:34 +01:00
# TODO: humor-sans
];
2018-10-07 19:47:28 +02:00
computerVisionTooling = [
];
2018-09-26 01:30:11 +02:00
in
{
home.packages = ([]
++ desktopApps
++ latexApps
++ pythonApps
2019-01-14 13:24:34 +01:00
++ graphicsApps
++ cliApps
++ multimediaApps
++ devTools
++ kdeTools
++ fonts
++ nixHelpers
++ computerVisionTooling
2018-09-26 01:30:11 +02:00
);
programs.home-manager.enable = true;
2018-10-31 00:20:35 +01:00
programs.home-manager.path = "$HOME/.nix-defexpr/channels/home-manager";
2019-01-09 12:15:08 +01:00
home.stateVersion = "18.09";
2018-10-31 00:20:35 +01:00
programs.direnv =
{ enable = true;
2019-01-14 13:24:34 +01:00
enableZshIntegration = true;
};
2018-10-14 16:57:02 +02:00
# programs.vim =
# { enable = true;
# };
2018-10-13 22:11:30 +02:00
2018-10-14 18:01:06 +02:00
services.gpg-agent =
{ enable = true;
2019-01-14 13:24:34 +01:00
enableSshSupport = true;
};
2018-09-26 01:30:11 +02:00
}