git: simplify submodule slightly

This commit is contained in:
Robert Helgesson 2017-08-24 01:03:01 +02:00
parent c3be4c4629
commit fed112e497
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -8,8 +8,7 @@ let
toINI = (import ../lib/generators.nix).toINI {};
signModule = types.submodule (
{ ... }: {
signModule = types.submodule {
options = {
key = mkOption {
type = types.str;
@ -29,8 +28,7 @@ let
description = "Path to GnuPG binary to use.";
};
};
}
);
};
in