From 26f920e119126b357e67f7c22d97c312c93d2dbd Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 6 Nov 2022 05:22:16 -0800 Subject: [PATCH] disable default environment packages --- modules/universal/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/universal/default.nix b/modules/universal/default.nix index 55684ff48..0efa832b3 100644 --- a/modules/universal/default.nix +++ b/modules/universal/default.nix @@ -35,6 +35,9 @@ }; }; + # disable non-required packages like nano, perl, rsync, strace + environment.defaultPackages = []; + # programs.vim.defaultEditor = true; environment.variables = { EDITOR = "vim";