about summary refs log tree commit diff stats
path: root/modules/common/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:09:30 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:09:30 +0200
commite549f90abe858f7cd3e629d70e479d2f626b55a9 (patch)
treee8f135031aab043c90fadbf31f7fb2661aeca972 /modules/common/default.nix
parentmodules/xdg: Move the rest of the xdg config here (diff)
downloadnixos-config-e549f90abe858f7cd3e629d70e479d2f626b55a9.zip
modules/common: Disable `nixos-shell`
I've never really used it and it uses up ~2GB.
Diffstat (limited to 'modules/common/default.nix')
-rw-r--r--modules/common/default.nix50
1 files changed, 0 insertions, 50 deletions
diff --git a/modules/common/default.nix b/modules/common/default.nix
index ef8d33f7..5b9b83ac 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -13,15 +13,6 @@
   config,
   pkgs,
   lib,
-  # Needed for nixos-shell
-  libraries,
-  modules,
-  openPRsNixpkgs,
-  packageSets,
-  system,
-  self,
-  externalDependencies,
-  externalBinaries,
   ...
 }: {
   # TODO(@bpeetz): Move this file to default options in their respective modules. <2025-05-31>
@@ -50,47 +41,6 @@
       ];
     };
 
-    nixos-shell = {
-      enable = lib.mkDefault true;
-      configuration = {
-        specialArgs = {
-          inherit
-            libraries
-            modules
-            ;
-        };
-        value = lib.mkMerge [
-          {
-            _module.args = {
-              inherit
-                # extra package sources
-                openPRsNixpkgs
-                packageSets
-                # extra information
-                system
-                # nix registry
-                self
-                externalDependencies
-                # bins
-                # TODO: Integrate these into `pkgs/by-name` <2024-05-22>
-                externalBinaries
-                ;
-            };
-          }
-
-          {
-            require = [
-              ./nixos_shell_configuration.nix
-
-              ../../modules
-              ../../modules/common
-            ];
-          }
-        ];
-      };
-      mounts = {};
-    };
-
     polkit.enable = true;
     power.enable = true;
     xdg.enable = true;