2024-09-19 14:19:46 +00:00
|
|
|
{ lib, pkgs, ... }:
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# Remove perl from activation
|
|
|
|
boot.initrd.systemd.enable = lib.mkDefault true;
|
|
|
|
system.etc.overlay.enable = lib.mkDefault true;
|
2024-09-19 14:19:46 +00:00
|
|
|
services.userborn.enable = lib.mkDefault true;
|
2024-01-25 14:12:00 +00:00
|
|
|
|
|
|
|
# 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;
|
2024-07-27 06:49:29 +00:00
|
|
|
boot.loader.grub.enable = lib.mkDefault false;
|
2024-01-25 14:12:00 +00:00
|
|
|
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".
|
2024-05-15 15:35:15 +00:00
|
|
|
system.forbiddenDependenciesRegexes = ["perl"];
|
2024-01-25 14:12:00 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
# Re-add nixos-rebuild to the systemPackages that was removed by the
|
|
|
|
# `system.disableInstallerTools` option.
|
|
|
|
environment.systemPackages = [pkgs.nixos-rebuild];
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
}
|