summaryrefslogtreecommitdiff
path: root/hermes
diff options
context:
space:
mode:
Diffstat (limited to 'hermes')
-rw-r--r--hermes/nixos/hardware-configuration.nix42
-rw-r--r--hermes/nixos/programs/cybersec.nix5
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
];