2019-05-31 00:02:30 +00:00
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
let
|
|
|
|
|
unstable = import <unstable> {};
|
2019-07-19 18:31:54 +00:00
|
|
|
|
emacsWithImagemagick = (unstable.emacs.override {
|
|
|
|
|
srcRepo = true;
|
|
|
|
|
imagemagick = unstable.imagemagickBig;
|
|
|
|
|
});
|
2019-12-26 17:43:15 +00:00
|
|
|
|
nixpkgs-tars = "https://github.com/NixOS/nixpkgs/archive/";
|
2019-05-31 00:02:30 +00:00
|
|
|
|
in {
|
2019-12-26 17:43:15 +00:00
|
|
|
|
nixpkgs.config = {
|
|
|
|
|
allowUnfree = true;
|
|
|
|
|
packageOverrides = pkgs: {
|
|
|
|
|
pr75524 = import (fetchTarball "${nixpkgs-tars}f7d7980f82cabbf72ddfe07a2bc4996432b44814.tar.gz") {
|
|
|
|
|
config = config.nixpkgs.config;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2019-05-31 00:02:30 +00:00
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
|
programs.browserpass.enable = true;
|
|
|
|
|
programs.adb.enable = true;
|
2019-08-07 19:02:24 +00:00
|
|
|
|
programs.java.enable = true;
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
|
|
|
|
services.ntp.enable = true;
|
|
|
|
|
services.tlp.enable = true;
|
|
|
|
|
services.vnstat.enable = true;
|
|
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
|
|
|
|
|
virtualisation.libvirtd = {
|
|
|
|
|
enable = true;
|
|
|
|
|
qemuVerbatimConfig = ''
|
|
|
|
|
namespaces = []
|
|
|
|
|
user = "user"
|
|
|
|
|
group = "users"
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2019-06-20 18:40:06 +00:00
|
|
|
|
services.tor.enable = true;
|
|
|
|
|
services.tor.client.enable = true;
|
|
|
|
|
|
2019-05-31 00:02:30 +00:00
|
|
|
|
environment.systemPackages = with pkgs; [
|
2019-12-26 17:43:15 +00:00
|
|
|
|
pr75524.codeql
|
|
|
|
|
|
2019-05-31 00:02:30 +00:00
|
|
|
|
# nix
|
|
|
|
|
patchelfUnstable nix-index
|
|
|
|
|
appimage-run
|
|
|
|
|
|
|
|
|
|
# utils
|
2019-07-18 18:27:22 +00:00
|
|
|
|
wget tmux zsh vim htop acpi bc p7zip mpv
|
2019-10-14 22:25:15 +00:00
|
|
|
|
git pass unzip zip w3m whois dnsutils nomacs
|
2019-10-13 18:16:14 +00:00
|
|
|
|
parted iotop nmap tldr sshfs qrencode
|
2019-05-31 00:02:30 +00:00
|
|
|
|
oathToolkit neomutt pciutils easyrsa openvpn
|
|
|
|
|
lsof tcpdump ddcutil pmount woeusb tigervnc
|
|
|
|
|
file mkpasswd irssi heroku hdparm debootstrap
|
|
|
|
|
proot fakeroot fakechroot lm_sensors powertop
|
|
|
|
|
exfat traceroute graphicsmagick-imagemagick-compat
|
|
|
|
|
pdftk vnstat dunst ghostscript graphicsmagick
|
2019-06-20 18:40:06 +00:00
|
|
|
|
browsh texlive.combined.scheme-full rubber pandoc
|
2019-08-24 09:10:33 +00:00
|
|
|
|
jq socat ffmpeg-full exiftool apktool mdl wine zstd
|
2019-11-19 16:31:48 +00:00
|
|
|
|
unstable.cointop unstable.tesseract
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
|
|
|
|
# gpg-related
|
2019-12-02 23:03:52 +00:00
|
|
|
|
gnupg yubikey-manager yubikey-personalization
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
|
|
|
|
# virtualization
|
|
|
|
|
nixops
|
|
|
|
|
kvm
|
|
|
|
|
virtmanager
|
|
|
|
|
virtviewer
|
|
|
|
|
spice
|
|
|
|
|
spice-gtk
|
|
|
|
|
|
2019-07-21 17:23:14 +00:00
|
|
|
|
(python3.withPackages(ps: with ps; [
|
|
|
|
|
ipython
|
|
|
|
|
pillow opencv3 torchvision
|
2019-08-17 16:26:19 +00:00
|
|
|
|
PyGithub
|
2019-08-02 15:14:30 +00:00
|
|
|
|
# Forensics
|
|
|
|
|
binwalk
|
2019-07-21 17:23:14 +00:00
|
|
|
|
]))
|
|
|
|
|
|
2019-08-17 16:31:41 +00:00
|
|
|
|
((unstable.emacsPackagesNgGen emacsWithImagemagick).emacsWithPackages(epkgs:
|
2019-07-19 18:31:54 +00:00
|
|
|
|
# MELPA (Milkypostman’s Emacs Lisp Package Archive)
|
|
|
|
|
(with epkgs.melpaPackages; [
|
|
|
|
|
# Programming languages modes
|
|
|
|
|
haskell-mode rust-mode scala-mode csharp-mode d-mode
|
2019-10-07 21:04:56 +00:00
|
|
|
|
solidity-mode php-mode go-mode ponylang-mode zig-mode
|
2019-07-19 18:31:54 +00:00
|
|
|
|
# Development
|
|
|
|
|
helm-gtags slime xcscope go-autocomplete
|
|
|
|
|
# Configuration languages modes
|
|
|
|
|
nix-mode markdown-mode dockerfile-mode yaml-mode ssh-config-mode
|
|
|
|
|
toml-mode pcap-mode
|
|
|
|
|
# Version control
|
|
|
|
|
magit git-gutter
|
|
|
|
|
# Generic
|
2019-08-31 16:48:13 +00:00
|
|
|
|
smex w3m org-kanban
|
2019-07-19 18:31:54 +00:00
|
|
|
|
# Appearance
|
|
|
|
|
zenburn-theme solarized-theme
|
2019-08-15 10:00:14 +00:00
|
|
|
|
# IM
|
|
|
|
|
telega
|
2019-07-19 18:31:54 +00:00
|
|
|
|
])
|
|
|
|
|
++
|
|
|
|
|
# GNU Elpa
|
|
|
|
|
(with epkgs.elpaPackages; [
|
|
|
|
|
# Programming languages modes
|
|
|
|
|
cobol-mode
|
|
|
|
|
])
|
2019-08-15 10:00:14 +00:00
|
|
|
|
))
|
|
|
|
|
|
2019-05-31 00:02:30 +00:00
|
|
|
|
# dev
|
2019-07-28 18:55:31 +00:00
|
|
|
|
go gnumake gcc clang clang-analyzer global ponyc
|
2019-05-31 00:02:30 +00:00
|
|
|
|
maven binutils-unwrapped openssl bison flex fop libxslt
|
2019-06-20 18:40:06 +00:00
|
|
|
|
cmake manpages unstable.gradle cargo rustc guile hydra
|
2019-07-09 11:34:02 +00:00
|
|
|
|
gitRepo rustfmt bazel ghc zlib gperf ccache opencv gotools
|
2019-10-14 22:25:15 +00:00
|
|
|
|
unstable.zig unstable.meson gdb
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
|
|
|
|
# re
|
|
|
|
|
radare2 radare2-cutter
|
|
|
|
|
|
|
|
|
|
# x render
|
|
|
|
|
vdpauinfo
|
|
|
|
|
|
2019-06-20 18:40:06 +00:00
|
|
|
|
cm_unicode
|
|
|
|
|
|
2019-10-12 02:58:52 +00:00
|
|
|
|
# fonts
|
|
|
|
|
ubuntu_font_family noto-fonts-emoji
|
|
|
|
|
|
2019-05-31 00:02:30 +00:00
|
|
|
|
# base x
|
2019-10-12 02:58:52 +00:00
|
|
|
|
rofi xlibs.xmodmap i3lock unstable.kitty
|
2019-10-13 14:23:04 +00:00
|
|
|
|
libnotify gtk_engines x2x evtest
|
2019-05-31 00:02:30 +00:00
|
|
|
|
pulsemixer arc-theme xorg.xhost xclip
|
|
|
|
|
gnome3.dconf gnome3.dconf-editor gsettings-desktop-schemas gsettings-qt
|
2019-06-20 18:40:06 +00:00
|
|
|
|
xorg.xcursorthemes capitaine-cursors gnome3.cheese
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
|
|
|
|
# x apps
|
2019-10-13 18:54:29 +00:00
|
|
|
|
escrotum unstable.wire-desktop tightvnc
|
2019-09-10 10:01:43 +00:00
|
|
|
|
quaternion veracrypt evince krita gimp gnome3.gnome-maps unstable.blender
|
2019-05-31 00:02:30 +00:00
|
|
|
|
android-file-transfer darktable xournal gnome3.eog audacious audacity
|
2019-10-13 14:23:04 +00:00
|
|
|
|
libreoffice electrum unstable.wireshark lmms gnome3.nautilus
|
2019-10-13 21:30:02 +00:00
|
|
|
|
unstable.signal-desktop lxappearance-gtk3
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
2019-10-13 21:23:47 +00:00
|
|
|
|
# TODO return to unstable
|
|
|
|
|
(writeShellScriptBin "torbrowser" "${tor-browser-unwrapped}/bin/firefox")
|
2019-07-22 17:34:36 +00:00
|
|
|
|
|
|
|
|
|
(writeShellScriptBin "git-get" "${git}/bin/git clone https://$1 $GOPATH/src/$1")
|
2019-07-23 19:06:59 +00:00
|
|
|
|
|
|
|
|
|
(writeShellScriptBin "chromium" ''
|
2019-08-15 10:00:23 +00:00
|
|
|
|
${unstable.chromium}/bin/chromium --force-dark-mode \
|
2019-08-03 09:00:24 +00:00
|
|
|
|
--start-maximized \
|
|
|
|
|
$@
|
2019-07-23 19:06:59 +00:00
|
|
|
|
'')
|
2019-05-31 00:02:30 +00:00
|
|
|
|
];
|
|
|
|
|
}
|