3
0
Fork 0
forked from mirrors/nixpkgs

nixos/systemd: Refactor package option

This commit is contained in:
nicoo 2023-11-21 16:27:57 +00:00
parent aba2edda44
commit f1b17edaea

View file

@ -179,12 +179,7 @@ in
options.systemd = {
package = mkOption {
default = pkgs.systemd;
defaultText = literalExpression "pkgs.systemd";
type = types.package;
description = lib.mdDoc "The systemd package.";
};
package = mkPackageOption pkgs "systemd" {};
units = mkOption {
description = "Definition of systemd units.";