Unverified Commit 0a490d78 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

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

parents 7320b297 1edbc4fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.