forked from mirrors/nixpkgs
3bb69836cb
This saves about 25M from the closure size of: $ nix build -f nixos system --arg configuration ' { imports = [ ./nixos/modules/profiles/minimal.nix ]; fileSystems."/".label="root"; boot.loader.grub.device = "nodev"; }'
22 lines
479 B
Nix
22 lines
479 B
Nix
# This module defines a small NixOS configuration. It does not
|
|
# contain any graphical stuff.
|
|
|
|
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
environment.noXlibs = mkDefault true;
|
|
|
|
documentation.enable = mkDefault false;
|
|
|
|
documentation.nixos.enable = mkDefault false;
|
|
|
|
programs.command-not-found.enable = mkDefault false;
|
|
|
|
xdg.autostart.enable = mkDefault false;
|
|
xdg.icons.enable = mkDefault false;
|
|
xdg.mime.enable = mkDefault false;
|
|
xdg.sounds.enable = mkDefault false;
|
|
}
|