Skip to content

Commit f0d0cbb

Browse files
committed
lib/helpers: fixup regression disallowing 'boot' operation for nixos hosts
1 parent e486c08 commit f0d0cbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func validateOperations(jobs map[string]JobSpec, op string) ([]string, error) {
124124
}
125125
case "nixos":
126126
switch op {
127-
case "test", "switch":
127+
case "boot", "switch", "test":
128128
continue
129129
default:
130130
return warnings, fmt.Errorf("unsupported NixOS operation: %s", op)

0 commit comments

Comments
 (0)