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.