diff --git a/selfprivacy-module.nix b/selfprivacy-module.nix index 21fd25f..10c6b45 100644 --- a/selfprivacy-module.nix +++ b/selfprivacy-module.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ lib, pkgs, ... }: with lib; { @@ -139,5 +139,20 @@ with lib; default = null; }; }; + ################ + # passthrough # + ################ + passthru = mkOption { + type = types.submodule { + freeformType = (pkgs.formats.json { }).type; + options = { }; + }; + default = { }; + visible = false; + description = '' + This attribute allows to share data between modules. + You can put whatever you want here. + ''; + }; }; }