diff options
Diffstat (limited to 'nixos/modules/profiles/minimal.nix')
-rw-r--r-- | nixos/modules/profiles/minimal.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/modules/profiles/minimal.nix b/nixos/modules/profiles/minimal.nix new file mode 100644 index 00000000000..e79b9272384 --- /dev/null +++ b/nixos/modules/profiles/minimal.nix @@ -0,0 +1,19 @@ +# This module defines a small NixOS configuration. It does not +# contain any graphical stuff. + +{ config, lib, ... }: + +with lib; + +{ + environment.noXlibs = mkDefault true; + + # This isn't perfect, but let's expect the user specifies an UTF-8 defaultLocale + i18n.supportedLocales = [ (config.i18n.defaultLocale + "/UTF-8") ]; + + documentation.enable = mkDefault false; + + documentation.nixos.enable = mkDefault false; + + programs.command-not-found.enable = mkDefault false; +} |