diff options
| author | Leonardo <noreply@leoflo.me> | 2025-11-16 10:20:12 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2025-11-16 10:20:12 +0100 |
| commit | 7e49dd3f8e6e607125f23a5ff2a398e1d1d00d9c (patch) | |
| tree | 09cafbc5e5b42d665c94665b605e30130b4e80e4 | |
| parent | a4fa5b709a72eb270761e57b85d9514d0d1f0737 (diff) | |
| download | nixos-7e49dd3f8e6e607125f23a5ff2a398e1d1d00d9c.tar.gz nixos-7e49dd3f8e6e607125f23a5ff2a398e1d1d00d9c.zip | |
cutter plugins
| -rw-r--r-- | hermes/nixos/hardware-configuration.nix | 42 | ||||
| -rw-r--r-- | hermes/nixos/programs/cybersec.nix | 5 |
2 files changed, 45 insertions, 2 deletions
diff --git a/hermes/nixos/hardware-configuration.nix b/hermes/nixos/hardware-configuration.nix new file mode 100644 index 0000000..f461076 --- /dev/null +++ b/hermes/nixos/hardware-configuration.nix @@ -0,0 +1,42 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/d2dbb171-8b65-4c40-9f09-d4e7b83f0094"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/ACC0-F37A"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/d5e4b700-4eb2-4b19-8d7f-8a8e154a4df1"; } + ]; + + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; + # networking.interfaces.wwan0.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} diff --git a/hermes/nixos/programs/cybersec.nix b/hermes/nixos/programs/cybersec.nix index 089c964..a37ff9a 100644 --- a/hermes/nixos/programs/cybersec.nix +++ b/hermes/nixos/programs/cybersec.nix @@ -5,8 +5,9 @@ # Packages environment.systemPackages = with pkgs; [ ascii file binwalk codeql pwntools - gnat15 gnumake cmake python313 - gdb gef ghidra-bin rizin cutter + gnat15 python313 gdb gef + ghidra-bin + rizin cutter cutterPlugins.rz-ghidra dig wireshark-qt postman burpsuite ]; |
