global/common: add common to module args

This commit is contained in:
Infinidoge 2024-05-22 13:52:31 -04:00
parent 83f1fb47bb
commit c682b084e8
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -1,5 +1,7 @@
{ ... }: { config, ... }:
{ {
_module.args.common = config.common;
common = rec { common = rec {
domain = "inx.moe"; domain = "inx.moe";
subdomain = subdomain: "${subdomain}.${domain}"; subdomain = subdomain: "${subdomain}.${domain}";