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
+1 -1
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.