From ddb6a7f0137af06a87b0aaf6b961414efb9a520b Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Wed, 25 Jun 2025 10:32:02 -0400 Subject: [PATCH] add nvix as editor --- hosts/common/core/default.nix | 1 + hosts/common/core/editor.nix | 9 +++++++++ hosts/common/optional/gaming.nix | 8 ++++++++ hosts/common/optional/pentesting.nix | 18 ++++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 hosts/common/core/editor.nix create mode 100644 hosts/common/optional/pentesting.nix diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix index 8029ca7..bb92c76 100644 --- a/hosts/common/core/default.nix +++ b/hosts/common/core/default.nix @@ -24,6 +24,7 @@ in { "hosts/common/core/shell.nix" "hosts/common/core/sops.nix" "hosts/common/core/ssh.nix" + "hosts/common/core/editor.nix" "hosts/common/users/primary" "hosts/common/users/primary/${platform}.nix" "modules/common" diff --git a/hosts/common/core/editor.nix b/hosts/common/core/editor.nix new file mode 100644 index 0000000..c8a24eb --- /dev/null +++ b/hosts/common/core/editor.nix @@ -0,0 +1,9 @@ +{ + pkgs, + inputs, + ... +}: { + environment.systemPackages = [ + inputs.nvix.packages.${pkgs.system}.default + ]; +} diff --git a/hosts/common/optional/gaming.nix b/hosts/common/optional/gaming.nix index 24969ba..52aa6d6 100644 --- a/hosts/common/optional/gaming.nix +++ b/hosts/common/optional/gaming.nix @@ -5,6 +5,7 @@ protontricks = { enable = true; }; + extraCompatPackages = [pkgs.unstable.proton-ge-bin]; }; gamescope = { enable = true; @@ -21,4 +22,11 @@ }; }; }; + environment.systemPackages = with pkgs; [ + vintagestory + mudlet + r2modman + prismlauncher + obs-studio + ]; } diff --git a/hosts/common/optional/pentesting.nix b/hosts/common/optional/pentesting.nix new file mode 100644 index 0000000..d9dd69f --- /dev/null +++ b/hosts/common/optional/pentesting.nix @@ -0,0 +1,18 @@ +{pkgs, ...}: { + programs = { + wireshark = { + enable = true; + usbmon.enable = true; + dumpcap.enable = true; + }; + }; + + environment.systemPackages = with pkgs; [ + metasploit + exploitdb + termshark + nmap + dirstalk + hashcat + ]; +}