1
0
localhost/packages.nix

129 lines
3.2 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
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;
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-11-20 18:44:01 +00:00
nonfree.codeql
2019-12-26 17:43:15 +00:00
2019-05-31 00:02:30 +00:00
# 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
2021-02-09 17:09:21 +00:00
oathToolkit neomutt pciutils openvpn
lsof tcpdump pmount woeusb
file mkpasswd heroku hdparm debootstrap
2019-05-31 00:02:30 +00:00
proot fakeroot fakechroot lm_sensors powertop
exfat traceroute graphicsmagick-imagemagick-compat
pdftk vnstat dunst ghostscript graphicsmagick
2021-02-09 17:09:21 +00:00
texlive.combined.scheme-full rubber pandoc
2019-08-24 09:10:33 +00:00
jq socat ffmpeg-full exiftool apktool mdl wine zstd
2021-02-09 17:09:21 +00:00
tesseract dislocker ffmpeg-normalize
# development
sbcl go
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
]))
2020-11-20 18:44:01 +00:00
(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
2020-06-27 17:37:17 +00:00
goimports
# 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
2020-12-08 10:24:00 +00:00
smex w3m org-kanban org-brain
# 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-11-20 18:44:01 +00:00
rofi xlibs.xmodmap xsecurelock 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
2020-11-20 18:44:01 +00:00
escrotum wire-desktop evince gimp gnome3.gnome-maps
2020-06-04 06:46:37 +00:00
android-file-transfer libreoffice electrum gnome3.nautilus
2021-01-27 21:23:11 +00:00
signal-desktop signal-cli rdesktop tdesktop
2019-05-31 00:02:30 +00:00
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" ''
2020-11-20 18:44:01 +00:00
${chromium}/bin/chromium --force-dark-mode \
--start-maximized \
$@
2019-07-23 19:06:59 +00:00
'')
2019-05-31 00:02:30 +00:00
];
}