mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-06 18:36:48 +02:00
![Eelco Dolstra](/assets/img/avatar_default.png)
shorthand for {x = {y = {z = ...;};};}. This is especially useful for NixOS configuration files, e.g. { services = { sshd = { enable = true; port = 2022; }; }; } can now be written as { services.sshd.enable = true; services.sshd.port = 2022; } However, it is currently not permitted to write { services.sshd = {enable = true;}; services.sshd.port = 2022; } as this is considered a duplicate definition of `services.sshd'.
1 line
29 B
Text
1 line
29 B
Text
Str("foo 22 80 itchyxac",[])
|