diff options
Diffstat (limited to 'modules/user/aszlig')
-rw-r--r-- | modules/user/aszlig/programs/git/default.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/user/aszlig/programs/git/default.nix b/modules/user/aszlig/programs/git/default.nix index 0090b617..62f0218c 100644 --- a/modules/user/aszlig/programs/git/default.nix +++ b/modules/user/aszlig/programs/git/default.nix @@ -44,14 +44,9 @@ in { config = mkOption { description = "System-wide default config for Git"; - type = let - superType = types.attrsOf types.unspecified; - in mkOptionType { - name = "attribute set of either plain values or " - + "attribute sets of values (if it is a subsection)"; - inherit (superType) check merge; - inherit (superType) getSubOptions getSubModules substSubModules; - }; + type = with types; let + value = either (either bool int) str; + in attrsOf (either (attrsOf value) value); default = {}; example = { |