diff --git a/nixos/modules/programs/nh.nix b/nixos/modules/programs/nh.nix index c42fb2fc724a75..d9fc98c6f5094e 100644 --- a/nixos/modules/programs/nh.nix +++ b/nixos/modules/programs/nh.nix @@ -15,10 +15,10 @@ in package = lib.mkPackageOption pkgs "nh" { }; flake = lib.mkOption { - type = lib.types.nullOr lib.types.path; + type = lib.types.nullOr lib.types.str; default = null; description = '' - The path that will be used for the `FLAKE` environment variable. + Any type of flake URI or a path that will be used for the `FLAKE` environment variable. `FLAKE` is used by nh as the default flake for performing actions, like `nh os switch`. '';