Extract host type to host.nix
This commit is contained in:
+2
-1
@@ -3,6 +3,7 @@
|
||||
with lib;
|
||||
let
|
||||
user = import ./types/user.nix { inherit lib; };
|
||||
host = import ./types/host.nix { inherit lib; };
|
||||
|
||||
in {
|
||||
options.instance = with types; {
|
||||
@@ -37,7 +38,7 @@ in {
|
||||
};
|
||||
|
||||
local-hosts = mkOption {
|
||||
type = listOf str;
|
||||
type = listOf (submodule host.hostOpts);
|
||||
description = "List of hosts that should be considered local to the current host.";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user