mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 12:09:19 +00:00
Generate grobi.conf from unrestricted JSON settings so root fields such as on_failure and nested rule values are configurable. Migrate rules and executeAfter through the ordered settings rename helper, retaining historical empty defaults, alias reads, priorities, and list ordering.
36 lines
510 B
JSON
36 lines
510 B
JSON
{
|
|
"arbitrary": {
|
|
"enabled": true,
|
|
"nested": [
|
|
1,
|
|
"two",
|
|
null
|
|
]
|
|
},
|
|
"execute_after": [
|
|
"before",
|
|
"middle",
|
|
"after"
|
|
],
|
|
"on_failure": [
|
|
"notify-send 'Grobi failed'"
|
|
],
|
|
"rules": [
|
|
{
|
|
"configure_single": "eDP-1",
|
|
"name": "Before"
|
|
},
|
|
{
|
|
"arbitrary_rule": {
|
|
"nested": true
|
|
},
|
|
"configure_single": "DP-1",
|
|
"name": "Middle"
|
|
},
|
|
{
|
|
"configure_single": "HDMI-1",
|
|
"name": "After"
|
|
}
|
|
]
|
|
}
|