mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
services, web-services: Populate meta.services attribute set
This commit is contained in:
parent
b26751a5fb
commit
fe5113d476
21 changed files with 135 additions and 10 deletions
|
|
@ -128,6 +128,13 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
custom.services.caddy.virtualHosts.${cfg.domain}.port = lib.mkIf (cfg.domain != null) cfg.port;
|
||||
custom = {
|
||||
services.caddy.virtualHosts.${cfg.domain}.port = lib.mkIf (cfg.domain != null) cfg.port;
|
||||
|
||||
meta.services.${cfg.domain} = lib.mkIf (cfg.domain != null) {
|
||||
title = "Alloy";
|
||||
icon = "sh:grafana-alloy";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue