mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
reflow with nixpkgs-fmt
This commit is contained in:
parent
93453bfc44
commit
e3c8b78056
14 changed files with 360 additions and 263 deletions
|
@ -1,15 +1,36 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pwgen pv tree tmux psmisc ncdu git file sqlite usbutils entr ffmpeg gcc
|
pwgen
|
||||||
python3 hugo openssl wget lm_sensors htop zip unzip dnsutils
|
pv
|
||||||
tcpdump rsync
|
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/")
|
(writeScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/")
|
||||||
|
|
||||||
(vim_configurable.customize {
|
(vim_configurable.customize {
|
||||||
name="vim";
|
name = "vim";
|
||||||
vimrcConfig.customRC=''
|
vimrcConfig.customRC = ''
|
||||||
syntax enable
|
syntax enable
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
set nowrap ruler scrolloff=9 backspace=start,indent
|
set nowrap ruler scrolloff=9 backspace=start,indent
|
||||||
|
|
|
@ -5,8 +5,9 @@
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
numix-icon-theme
|
numix-icon-theme
|
||||||
gnome3.gnome-tweaks
|
gnome3.gnome-tweaks
|
||||||
gnome3.gnome-boxes qemu_kvm
|
gnome3.gnome-boxes
|
||||||
(callPackage ./bottom-panel.nix {})
|
qemu_kvm
|
||||||
|
(callPackage ./bottom-panel.nix { })
|
||||||
(writeScriptBin "red" ''
|
(writeScriptBin "red" ''
|
||||||
x="$(gsettings get org.gnome.settings-daemon.plugins.color night-light-enabled)"
|
x="$(gsettings get org.gnome.settings-daemon.plugins.color night-light-enabled)"
|
||||||
[ "$x" = "true" ] && x=false || x=true
|
[ "$x" = "true" ] && x=false || x=true
|
||||||
|
|
|
@ -4,12 +4,14 @@
|
||||||
xinput list | cut -d= -f2 | cut -f1 | xargs -i xinput set-prop {} 'libinput Scroll Distance Scale' 2 1
|
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: {
|
xorg = super.xorg.overrideScope' (selfB: superB: {
|
||||||
inherit (super.xorg) xlibsWrapper;
|
inherit (super.xorg) xlibsWrapper;
|
||||||
xf86inputlibinput = superB.xf86inputlibinput.overrideAttrs (attr: {
|
xf86inputlibinput = superB.xf86inputlibinput.overrideAttrs (attr: {
|
||||||
patches = [ ./b7b5c5ef5f34802fc5f57e68493afaea5db7cdb4.diff ];
|
patches = [ ./b7b5c5ef5f34802fc5f57e68493afaea5db7cdb4.diff ];
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
})];
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,23 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
exiftool burpsuite nmap masscan binutils remmina openvpn socat ghidra-bin
|
exiftool
|
||||||
wfuzz gobuster dirb pwndbg thc-hydra metasploit
|
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 = {
|
programs = {
|
||||||
|
|
|
@ -19,9 +19,16 @@
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
numix-icon-theme yaru-theme
|
numix-icon-theme
|
||||||
gnome3.networkmanagerapplet gnome3.file-roller gnome3.adwaita-icon-theme
|
yaru-theme
|
||||||
mate.mate-terminal xfce.thunar i3status xfce.thunar-archive-plugin caffeine-ng
|
gnome3.networkmanagerapplet
|
||||||
|
gnome3.file-roller
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
mate.mate-terminal
|
||||||
|
xfce.thunar
|
||||||
|
i3status
|
||||||
|
xfce.thunar-archive-plugin
|
||||||
|
caffeine-ng
|
||||||
wf-recorder
|
wf-recorder
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,35 @@
|
||||||
{
|
{ stdenv
|
||||||
stdenv, autoPatchelfHook, requireFile, libxkbcommon, makeWrapper, unzip, zlib, glib,
|
, autoPatchelfHook
|
||||||
fontconfig, freetype, dbus, python37, libglvnd, libXext, libX11, libXrender, libXi,
|
, requireFile
|
||||||
libSM, libICE, xkeyboardconfig, nss, libXcomposite, libXcursor, libXdamage, libXtst,
|
, libxkbcommon
|
||||||
alsaLib, libXrandr, krb5, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil
|
, 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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "binary-ninja-personal";
|
name = "binary-ninja-personal";
|
||||||
|
@ -14,10 +41,36 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoPatchelfHook libxkbcommon stdenv.cc.cc.lib zlib glib fontconfig freetype nss
|
autoPatchelfHook
|
||||||
dbus python37 libglvnd libXext libX11 libXrender libXi libSM libICE unzip makeWrapper
|
libxkbcommon
|
||||||
libXcomposite libXcursor libXdamage libXtst alsaLib libXrandr krb5 xcbutilwm xcbutilimage
|
stdenv.cc.cc.lib
|
||||||
xcbutilkeysyms xcbutilrenderutil
|
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;
|
dontStrip = true;
|
||||||
|
|
Loading…
Reference in a new issue