here's some CTF prep

This commit is contained in:
Audrey 2025-04-09 10:36:20 -07:00
parent 61bc29a0ac
commit 5d40f2db72
2 changed files with 103 additions and 85 deletions

View File

@ -30,6 +30,8 @@ in {
environment.systemPackages = with pkgs; [
strace
rr
qemu-user
# language servers
nil
@ -48,6 +50,7 @@ in {
programs = {
virt-manager.enable = true;
nix-ld.enable = true;
};
services.zfs.zed = {

View File

@ -1,9 +1,18 @@
{ 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 ];
config = {
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.max-jobs = 1;
nix.settings.cores = 0;
@ -37,15 +46,20 @@
gdb
p7zip
unzip
foremost
binwalk
(python3.withPackages (p: lib.concatMap (pl: pl p) rhelmot.globalPythonPackages))
];
(python3.withPackages (p: with p; [
rhelmot.globalPythonPackages = [ (p: with p; [
virtualenvwrapper
pylint
pytest
ipdb
ipython
]))
];
nclib
pyyaml
]) ];
programs = {
zsh = {
@ -96,5 +110,6 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
};
}