Compare commits
2 Commits
e3ae73092f
...
c50d24062f
| Author | SHA1 | Date | |
|---|---|---|---|
| c50d24062f | |||
| b8d2a6ac30 |
@@ -8,7 +8,7 @@ in
|
||||
{
|
||||
options = {
|
||||
power.policy = mkOption {
|
||||
type = lib.types.nullOr (types.enum [ "always-on" "previous" "always-off" ]);
|
||||
type = types.nullOr (types.enum [ "always-on" "previous" "always-off" ]);
|
||||
default = null;
|
||||
description = "Set power policy to use via IPMI.";
|
||||
};
|
||||
@@ -23,6 +23,8 @@ in
|
||||
Type = "oneshot";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
StartLimitBurst = "10";
|
||||
StartLimitIntervalSec = "10m";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user