nixpkgs/nixos/modules/profiles/minimal.nix
2018-03-30 06:52:26 +00:00

18 lines
461 B
Nix

# This module defines a small NixOS configuration. It does not
# contain any graphical stuff.
{ config, lib, pkgs, ... }:
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;
services.nixosManual.enable = mkDefault false;
sound.enable = mkDefault false;
}