summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-05-19 00:24:52 +0200
committerlassulus <lass@lassul.us>2017-05-19 00:24:52 +0200
commit0901d6e6f8e5357cd06b0d6832bdbde6251b7de3 (patch)
treec0f0ac60100c9cdab25d3f01637020ecbe123ee9
parent1181cd442425f16ac4f8debdf391fe9111715b17 (diff)
lib/types: add managed bool to host type
-rw-r--r--lib/types.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 30de5e177..530cd1e69 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -31,6 +31,13 @@ rec {
default = null;
};
+ managed = mkOption {
+ description = ''
+ If true, then the host's configuration is defined in stockholm.
+ '';
+ type = bool;
+ };
+
owner = mkOption {
type = user;
};