m 5 esptool: ninit
This commit is contained in:
parent
e84be6df63
commit
bfbb5a0aa3
|
@ -82,7 +82,7 @@ in
|
|||
|
||||
URxvt.perl-ext: default,url-select
|
||||
URxvt.keysym.M-u: perl:url-select:select_next
|
||||
URxvt.url-select.launcher: chromium
|
||||
URxvt.url-select.launcher: firefox -new-tab
|
||||
URxvt.url-select.underline: true
|
||||
URxvt.searchable-scrollback: CM-s
|
||||
'';
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
# tools i use when actually working with the host.
|
||||
# package version will now be maintained by nix-rebuild
|
||||
#
|
||||
# essentially `nix-env -q` of the main user
|
||||
# TODO: split gui and non-gui
|
||||
{
|
||||
nixpkgs.config.firefox = {
|
||||
enableAdobeFlash = true;
|
||||
};
|
||||
|
||||
krebs.per-user.makefu.packages = with pkgs; [
|
||||
# core
|
||||
at_spi2_core
|
||||
acpi
|
||||
bc
|
||||
exif
|
||||
file
|
||||
ntfs3g
|
||||
pv
|
||||
proot
|
||||
sshpass
|
||||
unzip
|
||||
unrar
|
||||
usbutils
|
||||
zip
|
||||
|
||||
# dev
|
||||
python35Packages.virtualenv
|
||||
|
||||
|
||||
# gui
|
||||
chromium
|
||||
clipit
|
||||
feh
|
||||
firefox
|
||||
keepassx
|
||||
pcmanfm
|
||||
skype
|
||||
mirage
|
||||
tightvnc
|
||||
gnome3.dconf
|
||||
vlc
|
||||
virtmanager
|
||||
wireshark
|
||||
xdotool
|
||||
|
||||
# sectools
|
||||
aria2
|
||||
pythonPackages.binwalk-full
|
||||
dnsmasq
|
||||
iodine
|
||||
mtr
|
||||
nmap
|
||||
|
||||
|
||||
# stuff
|
||||
cac-api
|
||||
cac-panel
|
||||
krebspaste
|
||||
ledger
|
||||
pass
|
||||
];
|
||||
}
|
10
2configs/tools/all.nix
Normal file
10
2configs/tools/all.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
imports = [
|
||||
./core.nix
|
||||
./core-gui.nix
|
||||
./extra-gui.nix
|
||||
./dev.nix
|
||||
./sec.nix
|
||||
./media.nix
|
||||
];
|
||||
}
|
25
2configs/tools/core-gui.nix
Normal file
25
2configs/tools/core-gui.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config.firefox = {
|
||||
enableAdobeFlash = true;
|
||||
};
|
||||
|
||||
krebs.per-user.makefu.packages = with pkgs; [
|
||||
chromium
|
||||
clipit
|
||||
feh
|
||||
firefox
|
||||
keepassx
|
||||
pcmanfm
|
||||
skype
|
||||
mirage
|
||||
tightvnc
|
||||
gnome3.dconf
|
||||
vlc
|
||||
wireshark
|
||||
xdotool
|
||||
scrot
|
||||
|
||||
];
|
||||
}
|
41
2configs/tools/core.nix
Normal file
41
2configs/tools/core.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
# tools i use when actually working with the host.
|
||||
# package version will now be maintained by nix-rebuild
|
||||
#
|
||||
# essentially `nix-env -q` of the main user
|
||||
{
|
||||
krebs.per-user.makefu.packages = with pkgs; [
|
||||
at_spi2_core
|
||||
acpi
|
||||
bc
|
||||
exif
|
||||
file
|
||||
ntfs3g
|
||||
pv
|
||||
proot
|
||||
sshpass
|
||||
usbutils
|
||||
p7zip
|
||||
hdparm
|
||||
inetutils
|
||||
ncftp
|
||||
mutt
|
||||
tcpdump
|
||||
sysstat
|
||||
which
|
||||
weechat
|
||||
curl
|
||||
wget
|
||||
wol
|
||||
tmux
|
||||
smartmontools
|
||||
iftop
|
||||
|
||||
cac-api
|
||||
cac-panel
|
||||
krebspaste
|
||||
ledger
|
||||
pass
|
||||
];
|
||||
}
|
10
2configs/tools/dev.nix
Normal file
10
2configs/tools/dev.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
krebs.per-user.makefu.packages = with pkgs;[
|
||||
nodemcu-uploader
|
||||
esptool
|
||||
python35Packages.virtualenv
|
||||
flashrom
|
||||
];
|
||||
}
|
12
2configs/tools/extra-gui.nix
Normal file
12
2configs/tools/extra-gui.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
krebs.per-user.makefu.packages = with pkgs;[
|
||||
inkscape
|
||||
gimp
|
||||
skype
|
||||
virtmanager
|
||||
synergy
|
||||
|
||||
];
|
||||
}
|
12
2configs/tools/media.nix
Normal file
12
2configs/tools/media.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config.firefox = {
|
||||
enableAdobeFlash = true;
|
||||
};
|
||||
|
||||
krebs.per-user.makefu.packages = with pkgs; [
|
||||
kodi
|
||||
streamripper
|
||||
];
|
||||
}
|
15
2configs/tools/sec.nix
Normal file
15
2configs/tools/sec.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
krebs.per-user.makefu.packages = with pkgs; [
|
||||
aria2
|
||||
mitmproxy
|
||||
pythonPackages.binwalk-full
|
||||
dnsmasq
|
||||
iodine
|
||||
mtr
|
||||
nmap
|
||||
msf
|
||||
thc-hydra
|
||||
];
|
||||
}
|
32
5pkgs/esptool/default.nix
Normal file
32
5pkgs/esptool/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ pkgs, fetchFromGitHub, ... }:
|
||||
with pkgs.python2Packages;
|
||||
let
|
||||
pyaes = buildPythonPackage rec {
|
||||
name = "pyaes-${version}";
|
||||
version = "1.6.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ricmoo";
|
||||
repo = "pyaes";
|
||||
rev = "v${version}";
|
||||
sha256 = "04934a9zgwc8g3qhfrkcfv0bs557paigllnkrnfhp9m1azr3bfqb";
|
||||
};
|
||||
doCheck = false;
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
name = "esptool-${version}";
|
||||
version = "2.0beta2";
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
flake8
|
||||
ecdsa
|
||||
pyaes
|
||||
];
|
||||
src = fetchFromGitHub {
|
||||
owner = "themadinventor";
|
||||
repo = "esptool";
|
||||
rev = "v${version}";
|
||||
sha256 = "0n96pyi1k4qlyfqk5k7xpgq8726wz74qvd3gqjg0bpsl3wr7l94i";
|
||||
};
|
||||
doCheck = false;
|
||||
}
|
Loading…
Reference in a new issue