ctucx.git: nixfiles

ctucx' nixfiles

commit 88ec3b169cb236fef35b30454529a3df257cf228
parent ceb807dc4705ee6eb0afe0a13bd6c471a20e7083
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 12 Jan 2022 16:56:54 +0100

programs/cli/network-utilities: add dnsutils, whois, nmap
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/configurations/common.nix b/configurations/common.nix
@@ -10,6 +10,7 @@
     ./programs/cli/tmux.nix
     ./programs/cli/htop.nix
     ./programs/cli/utilities.nix
+    ./programs/cli/network-utilities.nix
   ];
 
   home-manager.useGlobalPkgs = true;
diff --git a/configurations/programs/cli/network-utilities.nix b/configurations/programs/cli/network-utilities.nix
@@ -0,0 +1,16 @@
+{ pkgs, ... }:
+
+{
+  programs.mtr.enable        = true;
+  programs.traceroute.enable = true;
+
+  home-manager.users.leah = {
+    home = {
+      packages = with pkgs; [
+        dnsutils
+        whois
+        nmap-unfree
+      ];
+    };
+  };
+}