aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/cl/cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/cl/cleanup')
-rw-r--r--modules/by-name/cl/cleanup/module.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/by-name/cl/cleanup/module.nix b/modules/by-name/cl/cleanup/module.nix
new file mode 100644
index 00000000..f8307b73
--- /dev/null
+++ b/modules/by-name/cl/cleanup/module.nix
@@ -0,0 +1,19 @@
+{
+ config,
+ lib,
+ ...
+}: let
+ cfg = config.soispha.cleanup;
+in {
+ # remove all the bloat, which NixOS installs by default
+ options.soispha.cleanup = {
+ enable = lib.mkEnableOption "avoiding of nixos' default installed packages";
+ };
+
+ config = lib.mkIf cfg.enable {
+ programs.nano.enable = false;
+ environment = {
+ defaultPackages = lib.mkForce [];
+ };
+ };
+}