diff options
author | tv <tv@shackspace.de> | 2015-03-27 21:11:01 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:15:54 +0200 |
commit | 390ef8040f77ad08966e15e8a61738e98c17a7fc (patch) | |
tree | 68dd698fa8c933c467909fed726596129116f189 | |
parent | be22f5b69509c6889ab0b898d886f96bfb9d8559 (diff) |
module sanitize: neutralize nano
-rw-r--r-- | cd.nix | 1 | ||||
-rw-r--r-- | modules/sanitize.nix | 8 | ||||
-rw-r--r-- | mu.nix | 1 | ||||
-rw-r--r-- | wu.nix | 1 |
4 files changed, 11 insertions, 0 deletions
@@ -4,6 +4,7 @@ imports = [ <secrets/hashedPasswords.nix> + ./modules/sanitize.nix ./modules/base-cac-CentOS-7-64bit.nix ./modules/exim-cd.nix ./modules/ejabberd-cd.nix # XXX echtes modul 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; + }; +} @@ -11,6 +11,7 @@ in { imports = [ <secrets/hashedPasswords.nix> + ./modules/sanitize.nix ./modules/exim.nix ./modules/retiolum.nix ]; @@ -8,6 +8,7 @@ in { imports = [ + ./modules/sanitize.nix ./modules/base.nix ./modules/retiolum.nix ./modules/urxvt.nix |