mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08: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
12 lines
151 B
Plaintext
12 lines
151 B
Plaintext
dir {
|
|
blk1 p1 "\"p2\"" {
|
|
sub1 arg11 arg12
|
|
sub2 arg21 arg22
|
|
sub2 arg1 arg2
|
|
sub3 arg31 arg32 {
|
|
"sub sub1"
|
|
sub-sub2 arg321 arg322
|
|
}
|
|
}
|
|
}
|