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)
downloadnixos-configuration-679f00fb3203ec503c977da4e6dd9b9646212e7e.tar.lz
nixos-configuration-679f00fb3203ec503c977da4e6dd9b9646212e7e.tar.zst
nixos-configuration-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 0000000..6598216
--- /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 624ac59..354403f 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";