-
It's the basis for everything and a pretty simple functional language
"JSON with
functionsfootguns" - It does have some easy to overlook subtleties:inherit (x) y;
vs.inherit x y;
vs.let ... in
vs.with ...;
f: g: ret;
vs.{ f, g }: ret
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, ... }: | |
{ | |
options.users.users = lib.mkOption { | |
type = lib.types.attrsOf ( | |
lib.types.submodule ( | |
{ name, config, ... }: { | |
options.openssh.authorizedPrincipals = lib.mkOption { | |
type = lib.types.listOf lib.types.str; | |
example = ''[ "admins", "developers", "it-personnel" ]''; | |
description = lib.mdDoc '' |
OlderNewer