mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
nh: add path option for flake (#6898)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user