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:
commit
0a490d78b1
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue