summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-03-27 21:11:01 +0100
committertv <tv@shackspace.de>2015-05-19 23:15:54 +0200
commit390ef8040f77ad08966e15e8a61738e98c17a7fc (patch)
tree68dd698fa8c933c467909fed726596129116f189 /modules
parentbe22f5b69509c6889ab0b898d886f96bfb9d8559 (diff)
module sanitize: neutralize nano
Diffstat (limited to 'modules')
-rw-r--r--modules/sanitize.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/sanitize.nix b/modules/sanitize.nix
new file mode 100644
index 000000000..b6c749b6d
--- /dev/null
+++ b/modules/sanitize.nix
@@ -0,0 +1,8 @@
+{ ... }:
+
+{
+ nixpkgs.config.packageOverrides = pkgs:
+ {
+ nano = /var/empty;
+ };
+}