mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
866a8e220c
This is now on by default.
28 lines
908 B
Nix
28 lines
908 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
# Remove perl from activation
|
|
boot.initrd.systemd.enable = lib.mkDefault true;
|
|
system.etc.overlay.enable = lib.mkDefault true;
|
|
services.userborn.enable = lib.mkDefault true;
|
|
|
|
# Random perl remnants
|
|
system.disableInstallerTools = lib.mkDefault true;
|
|
programs.less.lessopen = lib.mkDefault null;
|
|
programs.command-not-found.enable = lib.mkDefault false;
|
|
boot.enableContainers = lib.mkDefault false;
|
|
boot.loader.grub.enable = lib.mkDefault false;
|
|
environment.defaultPackages = lib.mkDefault [ ];
|
|
documentation.info.enable = lib.mkDefault false;
|
|
|
|
# Check that the system does not contain a Nix store path that contains the
|
|
# string "perl".
|
|
system.forbiddenDependenciesRegexes = ["perl"];
|
|
|
|
# Re-add nixos-rebuild to the systemPackages that was removed by the
|
|
# `system.disableInstallerTools` option.
|
|
environment.systemPackages = [pkgs.nixos-rebuild];
|
|
|
|
}
|