forked from mirrors/nixpkgs
nixos/systemd: Refactor package
option
This commit is contained in:
parent
aba2edda44
commit
f1b17edaea
|
@ -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.";
|
||||
|
|
Loading…
Reference in a new issue