From f5befe4eb4140a0eba276102a3c7b9938523648e Mon Sep 17 00:00:00 2001 From: Shawn8901 Date: Sat, 23 Nov 2024 15:13:30 +0100 Subject: [PATCH] programs/nh: allow flake uris to be set --- nixos/modules/programs/nh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`. '';