nixos/nh: allow flake uris
This commit is contained in:
parent
bb46050098
commit
4d4f431ff7
@ -19,10 +19,10 @@ in
|
|||||||
package = lib.mkPackageOption pkgs "nh" { };
|
package = lib.mkPackageOption pkgs "nh" { };
|
||||||
|
|
||||||
flake = lib.mkOption {
|
flake = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.path;
|
type = lib.types.nullOr lib.types.str;
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
The path that will be used for the `NH_FLAKE` environment variable.
|
The string that will be used for the `NH_FLAKE` environment variable.
|
||||||
|
|
||||||
`NH_FLAKE` is used by nh as the default flake for performing actions, such as
|
`NH_FLAKE` is used by nh as the default flake for performing actions, such as
|
||||||
`nh os switch`. This behaviour can be overriden per-command with environment
|
`nh os switch`. This behaviour can be overriden per-command with environment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user