Skip to content

Commit

Permalink
programs/nh: allow flake uris to be set
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn8901 committed Nov 23, 2024
1 parent d2c8c3a commit f5befe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/programs/nh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
'';
Expand Down

0 comments on commit f5befe4

Please sign in to comment.