diff --git a/src/nix/service.nix b/src/nix/service.nix index 927126b..a8c19b5 100644 --- a/src/nix/service.nix +++ b/src/nix/service.nix @@ -8,7 +8,7 @@ let inherit (lib) mkOption types; - inherit (types) listOf nullOr attrsOf string either int; + inherit (types) listOf nullOr attrsOf string either int bool; in { options = { @@ -20,6 +20,10 @@ in type = nullOr string; default = null; }; + service.hostname = mkOption { + type = nullOr string; + default = null; + }; service.environment = mkOption { type = attrsOf (either string int); default = {}; @@ -39,6 +43,10 @@ in type = nullOr string; default = null; }; + service.privileged = mkOption { + type = nullOr bool; + default = null; + }; service.entrypoint = mkOption { type = nullOr string; default = null;