1
0
Fork 0
localhost/packages.nix

140 lines
3.8 KiB
Nix
Raw Normal View History

2019-05-31 00:02:30 +00:00
{ config, pkgs, ... }:
let
nonfree = import <nixos> { config.allowUnfree = true; };
2019-05-31 00:02:30 +00:00
unstable = import <unstable> {};
2020-01-04 15:58:39 +00:00
unstable-nonfree = import <unstable> { config.allowUnfree = true; };
emacsWithImagemagick = (unstable.emacs.override {
srcRepo = true;
imagemagick = unstable.imagemagickBig;
});
2019-05-31 00:02:30 +00:00
in {
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;
2020-03-19 08:38:53 +00:00
services.ipfs.enable = true;
2019-05-31 00:02:30 +00:00
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; [
2020-01-04 15:58:39 +00:00
unstable-nonfree.codeql
2019-12-26 17:43:15 +00:00
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
2020-03-19 08:39:08 +00:00
lsof tcpdump ddcutil pmount woeusb
2019-05-31 00:02:30 +00:00
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
(nonfree.python3.withPackages(ps: with ps; [
2019-07-21 17:23:14 +00:00
ipython
pillow opencv3 torchvision
2020-03-19 09:32:31 +00:00
PyGithub telethon
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:
# MELPA (Milkypostmans 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
# 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
# Appearance
2020-06-01 08:39:05 +00:00
zenburn-theme solarized-theme wc-mode
# IM
telega
2020-03-19 08:38:01 +00:00
# NixOS
company-nixos-options helm-nixos-options
])
++
# GNU Elpa
(with epkgs.elpaPackages; [
# Programming languages modes
cobol-mode
])
))
2019-05-31 00:02:30 +00:00
# re
radare2 radare2-cutter
# x render
vdpauinfo
2019-10-12 02:58:52 +00:00
# fonts
2020-03-21 18:43:11 +00:00
gnome3.gnome-font-viewer
2019-10-12 02:58:52 +00:00
2019-05-31 00:02:30 +00:00
# base x
2020-01-06 15:29:14 +00:00
rofi xlibs.xmodmap xsecurelock unstable.kitty
libnotify gtk_engines x2x evtest
2020-01-06 15:25:31 +00:00
pulsemixer arc-theme xclip
2019-05-31 00:02:30 +00:00
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
2020-05-31 08:30:03 +00:00
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
libreoffice electrum unstable.wireshark lmms gnome3.nautilus
unstable.signal-desktop lxappearance-gtk3
2019-05-31 00:02:30 +00:00
unstable.tor-browser-bundle-bin
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 \
--start-maximized \
$@
2019-07-23 19:06:59 +00:00
'')
2019-05-31 00:02:30 +00:00
];
}