2020-10-16 22:31:01 +02:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
let
|
|
|
|
zshCurried = import ../programs/zsh.nix { inherit pkgs; };
|
|
|
|
in
|
|
|
|
|
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; };
|
2019-03-31 22:50:58 +02:00
|
|
|
masterpkgs = import <nixpkgs-master> { 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
|
2019-09-06 12:35:14 +02:00
|
|
|
# FIXME: fix homeshick when no WAN connection is available
|
|
|
|
# ../programs/homeshick.nix
|
2018-10-31 19:52:39 +01:00
|
|
|
../programs/libreoffice.nix
|
|
|
|
../programs/neovim.nix
|
|
|
|
../programs/pass.nix
|
2020-10-16 22:31:01 +02:00
|
|
|
zshCurried
|
2018-10-31 19:52:39 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs.config = {
|
|
|
|
pidgin = {
|
|
|
|
openssl = true;
|
|
|
|
gnutls = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
packageOverrides = pkgs: with pkgs; {
|
2020-09-04 11:46:29 +02:00
|
|
|
myPython = python37Full.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"
|
|
|
|
"$PATH"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = []
|
|
|
|
++ (with pkgs; [
|
|
|
|
# Authentication
|
|
|
|
cacert
|
|
|
|
fprintd
|
|
|
|
openssl
|
|
|
|
mkpasswd
|
|
|
|
|
|
|
|
# Nix package related tools
|
|
|
|
patchelf
|
|
|
|
nix-index
|
|
|
|
nox
|
|
|
|
nix-prefetch-scripts
|
2019-02-03 13:00:25 +01:00
|
|
|
nix-prefetch-github
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# Version Control Systems
|
2019-10-31 11:12:37 +01:00
|
|
|
pijul
|
2018-10-31 19:52:39 +01:00
|
|
|
gitless
|
|
|
|
gitRepo
|
2018-11-19 02:07:07 +01:00
|
|
|
git-lfs
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# 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
|
2020-02-29 10:08:58 +01:00
|
|
|
signal-desktop
|
2018-10-31 19:52:39 +01:00
|
|
|
pidgin
|
|
|
|
hexchat
|
|
|
|
aspellDicts.en
|
|
|
|
aspellDicts.de
|
2020-09-14 19:40:36 +02:00
|
|
|
skype
|
2020-09-28 10:36:07 +02:00
|
|
|
unstablepkgs.jitsi-meet-electron
|
2019-11-22 16:37:46 +01:00
|
|
|
zoom-us # broken as of 2019-10-30
|
2020-09-14 19:40:36 +02:00
|
|
|
bluejeans-gui
|
2018-10-31 19:52:39 +01:00
|
|
|
thunderbird
|
|
|
|
gnome3.evolution # gnome4.glib_networking
|
|
|
|
tdesktop
|
|
|
|
gnome3.cheese
|
|
|
|
|
|
|
|
# Virtualization
|
2019-07-17 09:48:49 +02:00
|
|
|
virtmanager
|
2018-12-17 13:13:13 +01:00
|
|
|
(pkgs.lib.hiPrio qemu)
|
2018-10-31 19:52:39 +01:00
|
|
|
# virtualbox
|
|
|
|
vagrant
|
2019-03-06 15:58:00 +01:00
|
|
|
docker_compose
|
2018-10-31 19:52:39 +01:00
|
|
|
# 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
|
|
|
|
teamviewer
|
|
|
|
|
|
|
|
# Audio/Video Players
|
|
|
|
ffmpeg
|
|
|
|
vlc
|
|
|
|
audacity
|
|
|
|
spotify
|
|
|
|
smtube
|
|
|
|
python27Packages.youtube-dl-light
|
|
|
|
screenkey
|
|
|
|
quvi
|
2020-06-10 21:14:53 +02:00
|
|
|
libwebcam
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# Network Tools
|
|
|
|
openvpn
|
|
|
|
tcpdump
|
|
|
|
iftop
|
|
|
|
iperf
|
|
|
|
bind
|
2018-11-03 18:43:22 +01:00
|
|
|
socat
|
2019-03-06 00:05:12 +01:00
|
|
|
# 2019-03-05: broken on 19.03 linssid
|
2019-01-16 20:50:26 +01:00
|
|
|
iptraf-ng
|
2019-03-03 00:15:02 +01:00
|
|
|
ipmitool
|
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
|
2020-09-04 11:46:29 +02:00
|
|
|
# barcode
|
2018-10-31 19:52:39 +01:00
|
|
|
qrencode
|
|
|
|
zbar
|
|
|
|
feh
|
|
|
|
# digikam
|
|
|
|
|
|
|
|
|
|
|
|
# Modelling Tools
|
2018-11-20 13:44:32 +01:00
|
|
|
# plantuml
|
|
|
|
# umlet
|
2020-09-04 11:46:29 +02: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
|
|
|
|
grive2
|
|
|
|
dropbox
|
|
|
|
rsync
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
## Android
|
2019-03-06 15:57:20 +01:00
|
|
|
androidenv.androidPkgs_9_0.platform-tools
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
## Python
|
2020-09-04 11:46:29 +02:00
|
|
|
myPython
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# Code generators
|
|
|
|
unstablepkgs.swagger-codegen
|
|
|
|
|
|
|
|
# Misc Desktop Tools
|
2020-03-13 08:57:12 +01:00
|
|
|
# TODO: this may be required if brightness control isn't working
|
|
|
|
# brightnessctl
|
2018-10-31 19:52:39 +01:00
|
|
|
ltunify
|
2019-11-06 12:26:35 +01:00
|
|
|
# solaar # TODO: conflicts with solar over udev rules
|
2018-10-31 19:52:39 +01:00
|
|
|
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
|
2019-07-17 10:02:36 +02:00
|
|
|
alacritty
|
|
|
|
roxterm
|
2020-01-13 12:25:02 +01:00
|
|
|
masterpkgs.wally-cli
|
2020-09-04 11:46:29 +02:00
|
|
|
man-pages
|
2018-10-31 19:52:39 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
}
|