Robert Helgesson
83301ca787
lib: support gvariant maybe type
...
Fixes #1397
2020-07-24 16:45:13 +02:00
Robert Helgesson
8ad4bd6c1b
types: improve dagOf and listOrDagOf
...
In particular, improve the behavior of these types if the element type
is a submodule.
2020-04-13 22:01:20 +02:00
Robert Helgesson
ac9e44a831
lib: add GVariant datatype and functions
2020-03-21 00:28:50 +01:00
Robert Helgesson
45abf3d38a
Apply nixfmt
on many files
2020-02-02 01:07:28 +01:00
Robert Helgesson
1397570eea
tests: use lib.hm.types
instead of explicit import
2020-01-26 11:28:34 +01:00
Robert Helgesson
7f87329fca
home-environment: use DAG type in activation
option
2020-01-16 00:16:35 +01:00
Robert Helgesson
6c127efb2d
lib: add type generators dagOf
and listOrDagOf
...
Given an inner type, the former function generates a type that expect
DAG option values. The latter function is only present to temporarily
allow the `programs.ssh.matchBlocks` to keep accepting list values.
2020-01-16 00:16:09 +01:00