mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-12-29 20:08:22 +01:00
12 lines
300 B
Nix
12 lines
300 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.services.greg-ng or { enable = false; };
|
|
in
|
|
{
|
|
config.topology.self.services.greg-ng = lib.mkIf cfg.enable {
|
|
name = "Greg-ng";
|
|
icon = ../icons/greg-ng.png;
|
|
details.listen = { text = "${cfg.settings.host}:${toString cfg.settings.port}"; };
|
|
};
|
|
}
|