mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
nh: allow absolute flake paths
This commit is contained in:
parent
e293a1a12f
commit
c613ac14f5
1 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
osFlake = lib.mkOption {
|
osFlake = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = with lib.types; nullOr (either singleLineStr path);
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
The string that will be used for the {env}`NH_OS_FLAKE` environment variable.
|
The string that will be used for the {env}`NH_OS_FLAKE` environment variable.
|
||||||
|
|
@ -42,7 +42,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
homeFlake = lib.mkOption {
|
homeFlake = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = with lib.types; nullOr (either singleLineStr path);
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
The string that will be used for the {env}`NH_HOME_FLAKE` environment variable.
|
The string that will be used for the {env}`NH_HOME_FLAKE` environment variable.
|
||||||
|
|
@ -54,7 +54,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
darwinFlake = lib.mkOption {
|
darwinFlake = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = with lib.types; nullOr (either singleLineStr path);
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
The string that will be used for the {env}`NH_DARWIN_FLAKE` environment variable.
|
The string that will be used for the {env}`NH_DARWIN_FLAKE` environment variable.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue