summary refs log tree commit diff
diff options
context:
space:
mode:
authorMalte Voos <malte@malvo.org>2022-05-13 18:59:35 +0200
committerMalte Voos <malte@malvo.org>2022-05-15 14:17:27 +0200
commit435b8151120d72ffdc5fbc15ba6e6864d43f6f1a (patch)
treebf29986ba8faceda1027dedbd0fe0749f8edc189
parenta4319e89d9adf743d5e9d7897d9db99dc7b6a580 (diff)
downloads6-rc.nix-435b8151120d72ffdc5fbc15ba6e6864d43f6f1a.tar.gz
s6-rc.nix-435b8151120d72ffdc5fbc15ba6e6864d43f6f1a.zip
put everything under 's6-rc' namespace
-rw-r--r--module.nix6
1 files 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;
   };
 }