mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
The former toSCFG implementation had several shortcomings which did not consider a few possibilities SCFG provides. Details were lined out in #7465. The new interface needs more verbosity, but reflects better the properties of the SCFG format. I also chose to use the names used in the [Specification]. [Specification]: https://git.sr.ht/~emersion/scfg#specification-draft
11 lines
151 B
Text
11 lines
151 B
Text
dir {
|
|
blk1 p1 "\"p2\"" {
|
|
sub1 arg11 arg12
|
|
sub2 arg21 arg22
|
|
sub2 arg1 arg2
|
|
sub3 arg31 arg32 {
|
|
"sub sub1"
|
|
sub-sub2 arg321 arg322
|
|
}
|
|
}
|
|
}
|