1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge pull request #336599 from bjornfor/nixos-ups-use-enum-for-upsmon-option

This commit is contained in:
Franz Pletz 2024-08-25 15:49:46 +02:00 committed by GitHub
commit 0a490d78b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -366,7 +366,7 @@ let
};
upsmon = mkOption {
type = with types; nullOr str;
type = with types; nullOr (enum [ "primary" "secondary" ]);
default = null;
description = ''
Add the necessary actions for a upsmon process to work.