2018-10-31 19:52:39 +01:00
|
|
|
{ pkgs
|
2018-11-05 14:31:58 +01:00
|
|
|
, config
|
|
|
|
, ... }:
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
# gitpkgs = import /home/steveej/src/github/NixOS/nixpkgs {};
|
2018-12-17 13:10:06 +01:00
|
|
|
unstablepkgs = import <channels-nixos-unstable> { config = config.nixpkgs.config; };
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
../profiles/common.nix
|
|
|
|
../profiles/qtile-desktop.nix
|
2018-11-04 14:52:52 +01:00
|
|
|
../profiles/dotfiles.nix
|
2018-10-31 19:52:39 +01:00
|
|
|
../programs/emacs.nix
|
|
|
|
../programs/firefox.nix
|
|
|
|
../programs/chromium.nix
|
|
|
|
../programs/homeshick.nix
|
|
|
|
../programs/libreoffice.nix
|
|
|
|
../programs/neovim.nix
|
|
|
|
../programs/pass.nix
|
|
|
|
../programs/zsh.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs.config = {
|
|
|
|
pidgin = {
|
|
|
|
openssl = true;
|
|
|
|
gnutls = true;
|
|
|
|
};
|
|
|
|
|
2018-12-17 13:13:13 +01:00
|
|
|
android_sdk.accept_license = true;
|
|
|
|
|
2018-10-31 19:52:39 +01:00
|
|
|
packageOverrides = pkgs: with pkgs; {
|
2018-11-03 18:43:22 +01:00
|
|
|
myPython36 = python36Full.withPackages (ps: with ps; [
|
2018-12-17 13:13:13 +01:00
|
|
|
pep8 yapf flake8
|
2018-10-31 19:52:39 +01:00
|
|
|
# autopep8 (broken)
|
|
|
|
# pylint (broken)
|
|
|
|
ipython
|
|
|
|
llfuse
|
|
|
|
dugong
|
|
|
|
defusedxml
|
|
|
|
wheel
|
|
|
|
pip
|
|
|
|
virtualenv
|
|
|
|
pypi2nix
|
|
|
|
cffi
|
|
|
|
pyopenssl
|
|
|
|
urllib3
|
|
|
|
mistune
|
|
|
|
|
|
|
|
flask
|
|
|
|
|
|
|
|
pyaml
|
|
|
|
] ++ [
|
|
|
|
pkgs.libffi
|
|
|
|
]);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
2018-11-03 11:03:03 +01:00
|
|
|
# TODO: find a way to prevent using a store path for the current file
|
|
|
|
# HM_CONFIG_PATH=builtins.toString "${./.}";
|
2018-11-03 19:33:58 +01:00
|
|
|
HM_CONFIG="graphical-fullblown";
|
2018-11-03 11:03:03 +01:00
|
|
|
|
2018-10-31 19:52:39 +01:00
|
|
|
GOPATH="$HOME/src/go";
|
|
|
|
|
2018-11-03 18:43:22 +01:00
|
|
|
PATH=pkgs.lib.concatStringsSep ":" [
|
2018-10-31 19:52:39 +01:00
|
|
|
"$HOME/.local/bin"
|
|
|
|
"$HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin"
|
|
|
|
"$HOME/.cargo/bin"
|
|
|
|
"$HOME/.gem/ruby/2.3.0/bin"
|
|
|
|
"$HOME/.npm-packages/bin"
|
|
|
|
"$GOPATH/bin"
|
|
|
|
"$PATH"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = []
|
|
|
|
++ (with pkgs; [
|
|
|
|
# Authentication
|
|
|
|
cacert
|
|
|
|
fprintd
|
|
|
|
openssl
|
|
|
|
mkpasswd
|
|
|
|
|
|
|
|
# Nix package related tools
|
|
|
|
patchelf
|
|
|
|
nix-index
|
|
|
|
nox
|
|
|
|
nix-prefetch-scripts
|
|
|
|
|
|
|
|
# Version Control Systems
|
|
|
|
unstablepkgs.pijul
|
|
|
|
gitless
|
|
|
|
gitRepo
|
2018-11-19 02:07:07 +01:00
|
|
|
git-lfs
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# Cloud/Remote System Management
|
|
|
|
google-cloud-sdk
|
|
|
|
ansible
|
|
|
|
nixops
|
|
|
|
unstablepkgs.terraform
|
|
|
|
awscli
|
|
|
|
hcloud
|
|
|
|
|
|
|
|
# Process/System Administration
|
|
|
|
htop
|
|
|
|
gnome3.gnome-tweak-tool
|
|
|
|
xorg.xhost
|
|
|
|
dmidecode
|
|
|
|
python36Packages.glances
|
|
|
|
evtest
|
|
|
|
|
|
|
|
# Archive Managers
|
|
|
|
sshfsFuse
|
|
|
|
xarchive
|
|
|
|
p7zip
|
|
|
|
zip
|
|
|
|
unzip
|
|
|
|
gzip
|
|
|
|
lzop
|
|
|
|
|
|
|
|
# Password Management
|
|
|
|
gnupg
|
2019-01-16 20:50:26 +01:00
|
|
|
yubikey-manager
|
2018-10-31 19:52:39 +01:00
|
|
|
yubikey-neo-manager
|
|
|
|
yubikey-personalization
|
|
|
|
yubikey-personalization-gui
|
|
|
|
gnome3.gnome_keyring
|
|
|
|
gnome3.seahorse
|
|
|
|
|
|
|
|
# Language Support
|
|
|
|
hunspellDicts.en-us
|
|
|
|
hunspellDicts.de-de
|
|
|
|
|
|
|
|
# Messaging/Communication
|
|
|
|
pidgin
|
|
|
|
hexchat
|
|
|
|
aspellDicts.en
|
|
|
|
aspellDicts.de
|
2018-11-20 13:44:32 +01:00
|
|
|
skype
|
2018-10-31 19:52:39 +01:00
|
|
|
zoom-us
|
|
|
|
unstablepkgs.bluejeans-gui
|
|
|
|
thunderbird
|
|
|
|
gnome3.evolution # gnome4.glib_networking
|
|
|
|
tdesktop
|
|
|
|
gnome3.cheese
|
|
|
|
|
|
|
|
# Virtualization
|
|
|
|
virtmanager
|
2018-12-17 13:13:13 +01:00
|
|
|
(pkgs.lib.hiPrio qemu)
|
2018-10-31 19:52:39 +01:00
|
|
|
# virtualbox
|
|
|
|
vagrant
|
2018-11-20 13:44:32 +01:00
|
|
|
rkt
|
2018-10-31 19:52:39 +01:00
|
|
|
python27Packages.docker_compose
|
|
|
|
# unstablepkgs.kubernetes
|
|
|
|
unstablepkgs.minikube
|
|
|
|
unstablepkgs.openshift
|
|
|
|
# (unstablepkgs.minikube.overrideAttrs (oldAttrs: {
|
|
|
|
# patches = oldAttrs.patches ++ [
|
|
|
|
# (builtins.fetchurl { url ="https://patch-diff.githubusercontent.com/raw/kubernetes/minikube/pull/2517.diff"; })
|
|
|
|
# ];
|
|
|
|
# }))
|
|
|
|
|
|
|
|
# Remote Control Tools
|
|
|
|
remmina
|
|
|
|
freerdp
|
|
|
|
x2goclient
|
|
|
|
teamviewer
|
|
|
|
|
|
|
|
# Audio/Video Players
|
|
|
|
ffmpeg
|
|
|
|
vlc
|
|
|
|
audacity
|
|
|
|
spotify
|
|
|
|
smtube
|
|
|
|
python27Packages.youtube-dl-light
|
|
|
|
screenkey
|
|
|
|
quvi
|
|
|
|
|
|
|
|
# Network Tools
|
|
|
|
openvpn
|
|
|
|
tcpdump
|
|
|
|
iftop
|
|
|
|
iperf
|
|
|
|
bind
|
2018-11-03 18:43:22 +01:00
|
|
|
socat
|
2019-01-06 02:14:54 +01:00
|
|
|
linssid
|
2019-01-16 20:50:26 +01:00
|
|
|
iptraf-ng
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# samba
|
|
|
|
iptables
|
|
|
|
nftables
|
|
|
|
wireshark
|
|
|
|
|
|
|
|
# Code Editors
|
2018-11-11 01:06:09 +01:00
|
|
|
unstablepkgs.atom
|
2018-10-31 19:52:39 +01:00
|
|
|
xclip
|
|
|
|
xsel
|
|
|
|
unstablepkgs.vscode
|
|
|
|
# (vscode-with-extensions.override {
|
|
|
|
# # When the extension is already available in the default extensions set.
|
|
|
|
# vscodeExtensions = with vscode-extensions; [
|
2018-11-03 18:43:22 +01:00
|
|
|
# ]
|
2018-10-31 19:52:39 +01:00
|
|
|
# # Concise version from the vscode market place when not available in the default set.
|
|
|
|
# ++ vscode-utils.extensionsFromVscodeMarketplace [
|
|
|
|
# {
|
|
|
|
# name = "vsliveshare";
|
|
|
|
# publisher = "MS-vsliveshare";
|
|
|
|
# version = "0.3.198";
|
|
|
|
# sha256 = "019ffyxca3qnqyz1fr7vh0plfdkc3ikr8v295z846lghvwlzjqdh";
|
|
|
|
# }
|
|
|
|
# ];
|
|
|
|
# })
|
|
|
|
|
|
|
|
# Image/Graphic/Design Tools
|
|
|
|
gnome3.eog
|
|
|
|
gimp
|
|
|
|
imagemagick
|
|
|
|
exiv2
|
|
|
|
graphviz
|
|
|
|
inkscape
|
|
|
|
## barcode
|
|
|
|
qrencode
|
|
|
|
zbar
|
|
|
|
feh
|
|
|
|
# digikam
|
|
|
|
|
|
|
|
|
|
|
|
# Modelling Tools
|
2018-11-20 13:44:32 +01:00
|
|
|
# plantuml
|
|
|
|
# umlet
|
2018-10-31 19:52:39 +01:00
|
|
|
staruml
|
2018-11-20 13:44:32 +01:00
|
|
|
# eclipses.eclipse-modeling
|
|
|
|
# dia
|
|
|
|
# astah-community
|
2018-11-03 18:43:22 +01:00
|
|
|
|
2018-10-31 19:52:39 +01:00
|
|
|
# Misc Development Tools
|
|
|
|
qrcode
|
|
|
|
travis
|
|
|
|
jq
|
|
|
|
prometheus
|
|
|
|
cdrtools
|
|
|
|
|
|
|
|
# Document Processing and Management
|
2018-11-10 11:32:20 +01:00
|
|
|
zathura
|
2018-10-31 19:52:39 +01:00
|
|
|
mendeley
|
|
|
|
jabref
|
|
|
|
zotero
|
|
|
|
hugo
|
|
|
|
pandoc
|
|
|
|
|
|
|
|
# LaTeX
|
|
|
|
perlPackages.YAMLTiny
|
|
|
|
perlPackages.FileHomeDir
|
|
|
|
perlPackages.UnicodeLineBreak
|
|
|
|
(texlive.combine {
|
2018-11-03 18:43:22 +01:00
|
|
|
inherit (texlive)
|
2018-10-31 19:52:39 +01:00
|
|
|
scheme-small
|
|
|
|
texlive-de
|
|
|
|
texlive-en
|
|
|
|
texlive-scripts
|
2018-11-03 18:43:22 +01:00
|
|
|
collection-langgerman
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
latexindent
|
|
|
|
latexmk
|
|
|
|
|
|
|
|
algorithms
|
|
|
|
cm-super
|
|
|
|
|
|
|
|
preprint
|
|
|
|
enumitem
|
|
|
|
draftwatermark
|
|
|
|
everypage
|
|
|
|
ulem
|
|
|
|
placeins
|
|
|
|
minted ifplatform fvextra xstring framed
|
|
|
|
;
|
|
|
|
})
|
|
|
|
|
|
|
|
pdftk
|
|
|
|
masterpdfeditor
|
|
|
|
|
|
|
|
# File Synchronzation
|
|
|
|
seafile-client
|
|
|
|
syncthing
|
|
|
|
grive2
|
|
|
|
dropbox
|
|
|
|
# gocryptfs
|
|
|
|
# hubicfuse
|
|
|
|
# s3ql
|
|
|
|
# rclone
|
|
|
|
rsync
|
2018-11-12 11:16:08 +01:00
|
|
|
duplicacy
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# Filesystem Tools
|
|
|
|
ntfs3g
|
|
|
|
ddrescue
|
|
|
|
ncdu
|
2018-11-20 13:44:32 +01:00
|
|
|
woeusb
|
2018-10-31 19:52:39 +01:00
|
|
|
unetbootin
|
|
|
|
pcmanfm
|
|
|
|
hdparm
|
|
|
|
testdisk
|
|
|
|
python27Packages.binwalk
|
|
|
|
gptfdisk
|
2019-01-28 15:52:42 +01:00
|
|
|
gparted
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# games
|
|
|
|
zeroad
|
|
|
|
|
|
|
|
# Compilers & Toolchains
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
gcc
|
|
|
|
pkgconfig
|
|
|
|
binutils
|
|
|
|
valgrind
|
|
|
|
gdb
|
|
|
|
cgdb
|
|
|
|
man-pages
|
|
|
|
gnumake
|
|
|
|
shellcheck
|
|
|
|
bazel
|
|
|
|
|
|
|
|
## Android
|
|
|
|
androidsdk
|
|
|
|
|
|
|
|
## Java
|
2018-11-20 13:44:32 +01:00
|
|
|
# jre
|
|
|
|
# openjdk
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
## Ruby
|
2018-11-20 13:44:32 +01:00
|
|
|
# ruby
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
## Python
|
|
|
|
myPython36
|
|
|
|
pypi2nix
|
|
|
|
|
|
|
|
## Webdev
|
|
|
|
nodejs-8_x
|
|
|
|
npm2nix
|
|
|
|
emscripten
|
|
|
|
|
|
|
|
# Code generators
|
|
|
|
unstablepkgs.swagger-codegen
|
|
|
|
|
|
|
|
# Misc Desktop Tools
|
|
|
|
ltunify
|
|
|
|
solaar
|
|
|
|
dex
|
|
|
|
# kitty
|
2018-11-03 18:43:22 +01:00
|
|
|
busyboxStatic
|
2018-10-31 19:52:39 +01:00
|
|
|
xorg.xbacklight
|
|
|
|
coreutils
|
|
|
|
lsof
|
|
|
|
x11_ssh_askpass
|
|
|
|
xdotool
|
|
|
|
xdg_utils
|
|
|
|
xdg-user-dirs
|
|
|
|
gnome3.dconf
|
|
|
|
picocom
|
|
|
|
glib.dev # contains gdbus tool
|
|
|
|
|
|
|
|
# Screen recording
|
2018-11-20 13:44:32 +01:00
|
|
|
# gtk-recordmydesktop # can't select the window
|
|
|
|
# qt-recordmydesktop
|
|
|
|
# vokoscreen
|
|
|
|
# shutter
|
2018-10-31 19:52:39 +01:00
|
|
|
# kazam # doesn't start
|
|
|
|
# xvidcap # doesn't keep the recording rectangle
|
|
|
|
obs-studio
|
2018-11-20 13:44:32 +01:00
|
|
|
# shotcut
|
|
|
|
# openshot-qt
|
2018-11-03 18:43:22 +01:00
|
|
|
]);
|
2018-10-31 19:52:39 +01:00
|
|
|
}
|