From 04a3a067307b699692bb590249d632ee0fc60ab6 Mon Sep 17 00:00:00 2001 From: Pierre Penninckx Date: Sun, 1 Sep 2024 18:17:38 -0700 Subject: [PATCH] Switch to not deprecated mkPackageOption (#288) --- modules/blocks/tinyproxy.nix | 2 +- modules/blocks/vpn.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blocks/tinyproxy.nix b/modules/blocks/tinyproxy.nix index b099bf6..40431bd 100644 --- a/modules/blocks/tinyproxy.nix +++ b/modules/blocks/tinyproxy.nix @@ -35,7 +35,7 @@ in options = { enable = mkEnableOption "Tinyproxy daemon"; - package = mkPackageOptionMD pkgs "tinyproxy" {}; + package = mkPackageOption pkgs "tinyproxy" {}; dynamicBindFile = mkOption { description = '' diff --git a/modules/blocks/vpn.nix b/modules/blocks/vpn.nix index 8e0ac92..946c6e6 100644 --- a/modules/blocks/vpn.nix +++ b/modules/blocks/vpn.nix @@ -207,7 +207,7 @@ in options = { enable = lib.mkEnableOption "OpenVPN config"; - package = lib.mkPackageOptionMD pkgs "openvpn" {}; + package = lib.mkPackageOption pkgs "openvpn" {}; provider = lib.mkOption { description = "VPN provider, if given uses ready-made configuration.";