From 435b8151120d72ffdc5fbc15ba6e6864d43f6f1a Mon Sep 17 00:00:00 2001 From: Malte Voos Date: Fri, 13 May 2022 18:59:35 +0200 Subject: put everything under 's6-rc' namespace --- module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module.nix b/module.nix index e60373d..c4f9a66 100644 --- a/module.nix +++ b/module.nix @@ -8,7 +8,7 @@ let # -------- implementation -------- # - cfg = config; + cfg = config.s6-rc; logNames = flatten (mapAttrsToList (_: sv: optional (sv.log != null) sv.log) cfg.longruns); @@ -168,7 +168,7 @@ in { # -------- interface -------- # - options = with types; + options.s6-rc = with types; let mkNullableOption = { type, ... } @ o: mkOption o // { type = nullOr type; default = null; }; @@ -301,7 +301,7 @@ in }; }; - config = lib.mkIf checkAssertions { + config.s6-rc = lib.mkIf checkAssertions { inherit serviceSourceDir compiledDatabase; }; } -- cgit 1.4.1