summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 14:49:58 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commit679f00fb3203ec503c977da4e6dd9b9646212e7e (patch)
tree5bdbaf6c731a8dcce08b3b333054a4b6665fc04f
parent7cff825c1df5494c6c070ad34f5288b9b7786cfc (diff)
downloadnixfiles-679f00fb3203ec503c977da4e6dd9b9646212e7e.tar.lz
nixfiles-679f00fb3203ec503c977da4e6dd9b9646212e7e.tar.zst
nixfiles-679f00fb3203ec503c977da4e6dd9b9646212e7e.zip
Add shell module
-rw-r--r--modules/shell.nix24
-rw-r--r--satoshipad.nix1
2 files changed, 25 insertions, 0 deletions
diff --git a/modules/shell.nix b/modules/shell.nix
new file mode 100644
index 00000000..65982166
--- /dev/null
+++ b/modules/shell.nix
@@ -0,0 +1,24 @@
+{ config, pkgs, ... }:
+
+{ programs.zsh = {
+    enable = true;
+    promptInit = "";
+  };
+  programs.bash.enableCompletion = true;
+
+  environment.systemPackages = with pkgs; [
+    vim
+    pv
+    file
+    htop
+    lsof
+    iftop
+    nmap
+    netperf
+    psmisc
+    tree
+    zip
+    unzip
+    telnet
+  ];
+}
diff --git a/satoshipad.nix b/satoshipad.nix
index 624ac593..354403fa 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -11,6 +11,7 @@
     ./modules/syncthing.nix
     ./modules/hidpi.nix
     ./modules/nitrokey.nix
+    ./modules/shell.nix
   ];
 
   networking.hostName = "satoshipad";