about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/alerta.nix
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2022-11-09 22:30:00 +0100
committerDaniel Nagy <danielnagy@posteo.de>2022-11-10 09:30:00 +0100
commit095269c8622e878eaaac117cc6b63dd1a4970a68 (patch)
treea386280c5393e47ec123a7f3dba08612f264fde5 /nixos/modules/services/monitoring/alerta.nix
parentc32d981cdd0835dd847a091c6603630009129f8f (diff)
downloadnixlib-095269c8622e878eaaac117cc6b63dd1a4970a68.tar
nixlib-095269c8622e878eaaac117cc6b63dd1a4970a68.tar.gz
nixlib-095269c8622e878eaaac117cc6b63dd1a4970a68.tar.bz2
nixlib-095269c8622e878eaaac117cc6b63dd1a4970a68.tar.lz
nixlib-095269c8622e878eaaac117cc6b63dd1a4970a68.tar.xz
nixlib-095269c8622e878eaaac117cc6b63dd1a4970a68.tar.zst
nixlib-095269c8622e878eaaac117cc6b63dd1a4970a68.zip
treewide: use `types.port` in nixos modules
Diffstat (limited to 'nixos/modules/services/monitoring/alerta.nix')
-rw-r--r--nixos/modules/services/monitoring/alerta.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/alerta.nix b/nixos/modules/services/monitoring/alerta.nix
index cf94f9813e86..6c7ebec4191c 100644
--- a/nixos/modules/services/monitoring/alerta.nix
+++ b/nixos/modules/services/monitoring/alerta.nix
@@ -24,7 +24,7 @@ in
     enable = mkEnableOption (lib.mdDoc "alerta");
 
     port = mkOption {
-      type = types.int;
+      type = types.port;
       default = 5000;
       description = lib.mdDoc "Port of Alerta";
     };