reflow with nixpkgs-fmt

This commit is contained in:
Sean Buckley 2020-09-24 01:45:48 -04:00
parent 93453bfc44
commit e3c8b78056
14 changed files with 360 additions and 263 deletions

View file

@ -1,15 +1,36 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
pwgen pv tree tmux psmisc ncdu git file sqlite usbutils entr ffmpeg gcc
python3 hugo openssl wget lm_sensors htop zip unzip dnsutils
tcpdump rsync
pwgen
pv
tree
tmux
psmisc
ncdu
git
file
sqlite
usbutils
entr
ffmpeg
gcc
python3
hugo
openssl
wget
lm_sensors
htop
zip
unzip
dnsutils
tcpdump
rsync
(writeScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/")
(vim_configurable.customize {
name="vim";
vimrcConfig.customRC=''
name = "vim";
vimrcConfig.customRC = ''
syntax enable
filetype plugin indent on
set nowrap ruler scrolloff=9 backspace=start,indent

View file

@ -5,8 +5,9 @@
systemPackages = with pkgs; [
numix-icon-theme
gnome3.gnome-tweaks
gnome3.gnome-boxes qemu_kvm
(callPackage ./bottom-panel.nix {})
gnome3.gnome-boxes
qemu_kvm
(callPackage ./bottom-panel.nix { })
(writeScriptBin "red" ''
x="$(gsettings get org.gnome.settings-daemon.plugins.color night-light-enabled)"
[ "$x" = "true" ] && x=false || x=true

View file

@ -4,12 +4,14 @@
xinput list | cut -d= -f2 | cut -f1 | xargs -i xinput set-prop {} 'libinput Scroll Distance Scale' 2 1
'';
nixpkgs.overlays = [(self: super: {
nixpkgs.overlays = [
(self: super: {
xorg = super.xorg.overrideScope' (selfB: superB: {
inherit (super.xorg) xlibsWrapper;
xf86inputlibinput = superB.xf86inputlibinput.overrideAttrs (attr: {
patches = [ ./b7b5c5ef5f34802fc5f57e68493afaea5db7cdb4.diff ];
});
});
})];
})
];
}

View file

@ -1,10 +1,23 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
exiftool burpsuite nmap masscan binutils remmina openvpn socat ghidra-bin
wfuzz gobuster dirb pwndbg thc-hydra metasploit
exiftool
burpsuite
nmap
masscan
binutils
remmina
openvpn
socat
ghidra-bin
wfuzz
gobuster
dirb
pwndbg
thc-hydra
metasploit
(callPackage ../pkgs/binary-ninja-personal {})
(callPackage ../pkgs/binary-ninja-personal { })
];
programs = {

View file

@ -19,9 +19,16 @@
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [
numix-icon-theme yaru-theme
gnome3.networkmanagerapplet gnome3.file-roller gnome3.adwaita-icon-theme
mate.mate-terminal xfce.thunar i3status xfce.thunar-archive-plugin caffeine-ng
numix-icon-theme
yaru-theme
gnome3.networkmanagerapplet
gnome3.file-roller
gnome3.adwaita-icon-theme
mate.mate-terminal
xfce.thunar
i3status
xfce.thunar-archive-plugin
caffeine-ng
wf-recorder
];

View file

@ -1,8 +1,35 @@
{
stdenv, autoPatchelfHook, requireFile, libxkbcommon, makeWrapper, unzip, zlib, glib,
fontconfig, freetype, dbus, python37, libglvnd, libXext, libX11, libXrender, libXi,
libSM, libICE, xkeyboardconfig, nss, libXcomposite, libXcursor, libXdamage, libXtst,
alsaLib, libXrandr, krb5, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil
{ stdenv
, autoPatchelfHook
, requireFile
, libxkbcommon
, makeWrapper
, unzip
, zlib
, glib
, fontconfig
, freetype
, dbus
, python37
, libglvnd
, libXext
, libX11
, libXrender
, libXi
, libSM
, libICE
, xkeyboardconfig
, nss
, libXcomposite
, libXcursor
, libXdamage
, libXtst
, alsaLib
, libXrandr
, krb5
, xcbutilwm
, xcbutilimage
, xcbutilkeysyms
, xcbutilrenderutil
}:
stdenv.mkDerivation rec {
name = "binary-ninja-personal";
@ -14,10 +41,36 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
autoPatchelfHook libxkbcommon stdenv.cc.cc.lib zlib glib fontconfig freetype nss
dbus python37 libglvnd libXext libX11 libXrender libXi libSM libICE unzip makeWrapper
libXcomposite libXcursor libXdamage libXtst alsaLib libXrandr krb5 xcbutilwm xcbutilimage
xcbutilkeysyms xcbutilrenderutil
autoPatchelfHook
libxkbcommon
stdenv.cc.cc.lib
zlib
glib
fontconfig
freetype
nss
dbus
python37
libglvnd
libXext
libX11
libXrender
libXi
libSM
libICE
unzip
makeWrapper
libXcomposite
libXcursor
libXdamage
libXtst
alsaLib
libXrandr
krb5
xcbutilwm
xcbutilimage
xcbutilkeysyms
xcbutilrenderutil
];
dontStrip = true;