diff options
author | nicoo <nicoo@mur.at> | 2023-11-21 16:27:57 +0000 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2023-11-22 10:49:50 +0000 |
commit | f1b17edaea281783b6fc52917e615f4dda71ce66 (patch) | |
tree | 50727895817c81b12c0663212105e73db5d7c06d /nixos/modules/system | |
parent | aba2edda44b4e7be9bcef0c4f01c69a15f31b2e4 (diff) |
nixos/systemd: Refactor `package` option
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 476ff5fdd2b9b..f6c734f47a90d 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -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."; |