here's some CTF prep
This commit is contained in:
parent
61bc29a0ac
commit
5d40f2db72
|
@ -30,6 +30,8 @@ in {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
strace
|
strace
|
||||||
|
rr
|
||||||
|
qemu-user
|
||||||
|
|
||||||
# language servers
|
# language servers
|
||||||
nil
|
nil
|
||||||
|
@ -48,6 +50,7 @@ in {
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
|
nix-ld.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.zfs.zed = {
|
services.zfs.zed = {
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
let rhelmot = config.rhelmot;
|
||||||
|
in {
|
||||||
|
options.rhelmot = {
|
||||||
|
globalPythonPackages = lib.mkOption {
|
||||||
|
type = with lib.types; listOf (functionTo (listOf package));
|
||||||
|
default = [];
|
||||||
|
description = "python packages (p: with p; [ x ]) to include in the global python environment";
|
||||||
|
};
|
||||||
|
};
|
||||||
imports = [ ./overlays/packages.nix ./configuration-cross.nix ];
|
imports = [ ./overlays/packages.nix ./configuration-cross.nix ];
|
||||||
|
config = {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
nix.settings.extra-experimental-features = "nix-command flakes";
|
nix.settings.extra-experimental-features = "nix-command flakes repl-flake";
|
||||||
nix.settings.trusted-users = [ "audrey" ];
|
nix.settings.trusted-users = [ "audrey" ];
|
||||||
nix.settings.max-jobs = 1;
|
nix.settings.max-jobs = 1;
|
||||||
nix.settings.cores = 0;
|
nix.settings.cores = 0;
|
||||||
|
@ -37,15 +46,20 @@
|
||||||
gdb
|
gdb
|
||||||
p7zip
|
p7zip
|
||||||
unzip
|
unzip
|
||||||
|
foremost
|
||||||
|
binwalk
|
||||||
|
(python3.withPackages (p: lib.concatMap (pl: pl p) rhelmot.globalPythonPackages))
|
||||||
|
];
|
||||||
|
|
||||||
(python3.withPackages (p: with p; [
|
rhelmot.globalPythonPackages = [ (p: with p; [
|
||||||
virtualenvwrapper
|
virtualenvwrapper
|
||||||
pylint
|
pylint
|
||||||
pytest
|
pytest
|
||||||
ipdb
|
ipdb
|
||||||
ipython
|
ipython
|
||||||
]))
|
nclib
|
||||||
];
|
pyyaml
|
||||||
|
]) ];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
|
@ -96,5 +110,6 @@
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue