module sanitize: neutralize nano

This commit is contained in:
tv 2015-03-27 21:11:01 +01:00
parent be22f5b695
commit 390ef8040f
4 changed files with 11 additions and 0 deletions

1
cd.nix
View File

@ -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

8
modules/sanitize.nix Normal file
View File

@ -0,0 +1,8 @@
{ ... }:
{
nixpkgs.config.packageOverrides = pkgs:
{
nano = /var/empty;
};
}

1
mu.nix
View File

@ -11,6 +11,7 @@ in
{
imports = [
<secrets/hashedPasswords.nix>
./modules/sanitize.nix
./modules/exim.nix
./modules/retiolum.nix
];

1
wu.nix
View File

@ -8,6 +8,7 @@ in
{
imports = [
./modules/sanitize.nix
./modules/base.nix
./modules/retiolum.nix
./modules/urxvt.nix