From c803a38927b9b3b15dc83aecae27af3172be5ee2 Mon Sep 17 00:00:00 2001 From: awwpotato Date: Mon, 28 Apr 2025 19:27:29 -0700 Subject: [PATCH] nh: add path option for flake (#6898) --- modules/programs/nh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/nh.nix b/modules/programs/nh.nix index f660e7bd..ef078d18 100644 --- a/modules/programs/nh.nix +++ b/modules/programs/nh.nix @@ -16,7 +16,7 @@ in package = lib.mkPackageOption pkgs "nh" { }; flake = lib.mkOption { - type = lib.types.nullOr lib.types.singleLineStr; + type = with lib.types; nullOr (either singleLineStr path); default = null; description = '' The path that will be used for the {env}`FLAKE` environment variable.