--- tags: - nix - programming --- ```nix let x = 123; in { inherit x; y = 456; } ``` == ```nix let x = 123; in { x = x; y = 456; } ``` Can reference set ```nix inherit (src-set) a b c; ``` == ```nix a = src-set.a; b = src-set.b; c = src-set.c; ```