summary refs log tree commit diff
path: root/nixos/modules/profiles/minimal.nix
blob: e2497d04252e07f4deacc6a64ed3e4ef208543a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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") ];
  services.nixosManual.enable = mkDefault false;

  programs.man.enable = mkDefault false;
  programs.info.enable = mkDefault false;

  sound.enable = mkDefault false;
}