mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
treewide: fix statix errors
This commit is contained in:
parent
a4b8c2b8da
commit
743d7eead9
48 changed files with 72 additions and 82 deletions
|
@ -2,7 +2,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.services.alertmanager;
|
||||
domain = config.networking.domain;
|
||||
inherit (config.networking) domain;
|
||||
in
|
||||
{
|
||||
options.my.services.alertmanager = with lib; {
|
||||
|
@ -29,7 +29,7 @@ in
|
|||
alertmanager = {
|
||||
enable = true;
|
||||
listenAddress = "127.0.0.1";
|
||||
port = cfg.port;
|
||||
inherit (cfg) port;
|
||||
configuration = import ./config.nix;
|
||||
webExternalUrl = "https://alerts.${domain}";
|
||||
# fix issue: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4556
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue