summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-06-06 14:28:45 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-06-06 14:28:45 +0200
commit967fd303bb38286333ed94fc6c99fe305b9c9282 (patch)
tree3dd84edaa6d98b534c568d43b8902e4f97eae03c
parent82df71365a4d57e9a1d69500cf03f1df77a2b7d3 (diff)
Ghidra and mullvad
-rw-r--r--home-manager/modules/apps/desktop/default.nix6
-rw-r--r--home-manager/modules/apps/desktop/ghidra.nix7
-rw-r--r--nixos/common/services.nix5
-rw-r--r--nixos/hosts/apocalypse/firewall.nix2
4 files changed, 18 insertions, 2 deletions
diff --git a/home-manager/modules/apps/desktop/default.nix b/home-manager/modules/apps/desktop/default.nix
index c0d4fbe..80464de 100644
--- a/home-manager/modules/apps/desktop/default.nix
+++ b/home-manager/modules/apps/desktop/default.nix
@@ -1,5 +1,9 @@
{lib, pkgs, ...}: with lib; {
- imports = [ ./hyprland.nix ./wine.nix ];
+ imports = [
+ ./hyprland.nix
+ ./wine.nix
+ ./ghidra.nix
+ ];
home.packages = with pkgs; [
speedcrunch
diff --git a/home-manager/modules/apps/desktop/ghidra.nix b/home-manager/modules/apps/desktop/ghidra.nix
new file mode 100644
index 0000000..3db591e
--- /dev/null
+++ b/home-manager/modules/apps/desktop/ghidra.nix
@@ -0,0 +1,7 @@
+{pkgs, ...}:
+{
+ programs.ghidra = {
+ enable = true;
+ gdb = true;
+ };
+}
diff --git a/nixos/common/services.nix b/nixos/common/services.nix
index d63e547..8a73d42 100644
--- a/nixos/common/services.nix
+++ b/nixos/common/services.nix
@@ -19,4 +19,9 @@
};
services.spice-vdagentd.enable = true;
+ services.mullvad-vpn = {
+ enable = true;
+ package = pkgs.mullvad-vpn;
+ };
+
}
diff --git a/nixos/hosts/apocalypse/firewall.nix b/nixos/hosts/apocalypse/firewall.nix
index b2c17af..5c73966 100644
--- a/nixos/hosts/apocalypse/firewall.nix
+++ b/nixos/hosts/apocalypse/firewall.nix
@@ -32,7 +32,7 @@ let
in
{
networking.firewall = {
- enable = true;
+ enable = false;
allowedTCPPorts = baseTCP;
allowedUDPPorts = baseUDP;
allowedUDPPortRanges = baseUDPRanges;