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;
|
|
|
|
|
});
|
|
|
|
|
nixpkgs-tars = "https://github.com/NixOS/nixpkgs/archive/";
|
2019-05-31 00:02:30 +00:00
|
|
|
|
in {
|
2019-07-19 18:31:54 +00:00
|
|
|
|
nixpkgs.config = {
|
|
|
|
|
allowUnfree = true;
|
|
|
|
|
packageOverrides = pkgs: {
|
|
|
|
|
pr64977 = import (fetchTarball "${nixpkgs-tars}7da8de19b1f394c92f27b8d953b85cfce1770427.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;
|
|
|
|
|
|
|
|
|
|
programs.java = {
|
|
|
|
|
enable = true;
|
|
|
|
|
package = unstable.pkgs.jdk11;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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; [
|
|
|
|
|
# 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-05-31 00:02:30 +00:00
|
|
|
|
git pass unzip zip w3m whois dnsutils feh
|
|
|
|
|
parted iotop nmap tldr sshfs pinentry_ncurses
|
|
|
|
|
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-06-24 12:17:34 +00:00
|
|
|
|
jq socat
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
|
|
|
|
# gpg-related
|
|
|
|
|
gnupg unstable.yubikey-manager unstable.yubikey-personalization
|
|
|
|
|
|
|
|
|
|
# virtualization
|
|
|
|
|
nixops
|
|
|
|
|
kvm
|
|
|
|
|
virtmanager
|
|
|
|
|
virtviewer
|
|
|
|
|
spice
|
|
|
|
|
spice-gtk
|
|
|
|
|
|
2019-07-19 18:31:54 +00:00
|
|
|
|
# temporary
|
|
|
|
|
pr64977.telega-server
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
2019-07-19 18:31:54 +00:00
|
|
|
|
((unstable.emacsPackagesNgGen emacsWithImagemagick).emacsWithPackages(epkgs:
|
|
|
|
|
# MELPA (Milkypostman’s Emacs Lisp Package Archive)
|
|
|
|
|
(with epkgs.melpaPackages; [
|
|
|
|
|
# Programming languages modes
|
|
|
|
|
haskell-mode rust-mode scala-mode csharp-mode d-mode
|
|
|
|
|
solidity-mode php-mode go-mode elpy
|
|
|
|
|
# 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
|
|
|
|
|
smex w3m exec-path-from-shell org-kanban
|
|
|
|
|
# Appearance
|
|
|
|
|
zenburn-theme solarized-theme
|
|
|
|
|
])
|
|
|
|
|
++
|
|
|
|
|
# GNU Elpa
|
|
|
|
|
(with epkgs.elpaPackages; [
|
|
|
|
|
# Programming languages modes
|
|
|
|
|
cobol-mode
|
|
|
|
|
])
|
|
|
|
|
++
|
|
|
|
|
# Custom packaged
|
|
|
|
|
[
|
|
|
|
|
((unstable.emacsPackagesNgFor emacsWithImagemagick).melpaBuild {
|
|
|
|
|
pname = "telega";
|
|
|
|
|
ename = "telega";
|
|
|
|
|
recipe = fetchurl {
|
|
|
|
|
url = "https://raw.githubusercontent.com/melpa/melpa/master/recipes/telega";
|
|
|
|
|
sha256 = "0n1n1fciwh7jbakdjkx36aq6k0is0c694j3n5dicwvfp7spca7p8";
|
|
|
|
|
name = "recipe";
|
|
|
|
|
};
|
|
|
|
|
version = "0.4.0";
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "zevlg";
|
|
|
|
|
repo = "telega.el";
|
|
|
|
|
rev = "0.4.0";
|
|
|
|
|
sha256 = "1a5fxix2zvs461vn6zn36qgpg65bl38gfb3ivr24wmxq1avja5s1";
|
|
|
|
|
};
|
|
|
|
|
})
|
|
|
|
|
]
|
|
|
|
|
))
|
2019-07-18 18:27:22 +00:00
|
|
|
|
|
2019-05-31 00:02:30 +00:00
|
|
|
|
# dev
|
|
|
|
|
go gnumake gcc clang clang-analyzer global
|
|
|
|
|
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-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-05-31 00:02:30 +00:00
|
|
|
|
# base x
|
|
|
|
|
rofi xlibs.xmodmap ubuntu_font_family i3lock unstable.kitty
|
2019-07-21 16:19:06 +00:00
|
|
|
|
libnotify gtk_engines x2x
|
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-07-19 20:39:05 +00:00
|
|
|
|
unstable.chromium escrotum unstable.wire-desktop ssvnc tightvnc
|
2019-05-31 00:02:30 +00:00
|
|
|
|
quaternion veracrypt evince krita gimp gnome3.gnome-maps
|
|
|
|
|
android-file-transfer darktable xournal gnome3.eog audacious audacity
|
2019-06-20 18:40:06 +00:00
|
|
|
|
matrique unstable.libreoffice electrum adobe-reader unstable.wireshark lmms
|
2019-07-05 19:42:28 +00:00
|
|
|
|
unstable.firefox unstable.stellarium
|
2019-05-31 00:02:30 +00:00
|
|
|
|
|
2019-07-05 19:42:28 +00:00
|
|
|
|
(writeShellScriptBin "torbrowser" "${unstable.tor-browser-unwrapped}/bin/firefox")
|
2019-05-31 00:02:30 +00:00
|
|
|
|
];
|
|
|
|
|
}
|