nixos/jenkins: Drop default packages from package option (#501713)

This commit is contained in:
Michael Daniels
2026-03-22 18:03:07 +00:00
committed by GitHub
2 changed files with 12 additions and 8 deletions
+2
View File
@@ -219,6 +219,8 @@
- `services.taskchampion-sync-server` module have been added an option `services.taskchampion-sync-server.dynamicUser` to use systemd's DynamicUser feature. This is enabled by default when stateVersion is at least 26.05, and disabled otherwise. If you need this feature, you need to set `services.taskchampion-sync-server.dynamicUser` to `true` and migrate `/var/lib/taskchampion-sync-server` to `/var/lib/private/taskchampion-sync-server`.
- The default packages in `services.jenkins.packages` have been dropped, since not every Jenkins installation needs any package at all. It's more reasonable to leave it empty and let users configure what they need.
## Other Notable Changes {#sec-nixpkgs-release-26.05-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
@@ -86,14 +86,16 @@ in
javaPackage = lib.mkPackageOption pkgs "jdk25" { };
packages = lib.mkOption {
default = [
pkgs.stdenv
pkgs.git
pkgs.jdk25
config.programs.ssh.package
pkgs.nix
];
defaultText = lib.literalExpression "[ pkgs.stdenv pkgs.git pkgs.jdk17 config.programs.ssh.package pkgs.nix ]";
default = [ ];
example = lib.literalExpression ''
[
pkgs.stdenv
pkgs.git
pkgs.jdk25
config.programs.ssh.package
pkgs.nix
]
'';
type = lib.types.listOf lib.types.package;
description = ''
Packages to add to PATH for the jenkins process.