mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 03:59:46 +01:00
git: simplify submodule slightly
(cherry picked from commit fed112e497
)
This commit is contained in:
parent
95327eb5cd
commit
b25037d68b
1 changed files with 20 additions and 22 deletions
|
@ -8,8 +8,7 @@ let
|
||||||
|
|
||||||
toINI = (import ../lib/generators.nix).toINI {};
|
toINI = (import ../lib/generators.nix).toINI {};
|
||||||
|
|
||||||
signModule = types.submodule (
|
signModule = types.submodule {
|
||||||
{ ... }: {
|
|
||||||
options = {
|
options = {
|
||||||
key = mkOption {
|
key = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
@ -29,8 +28,7 @@ let
|
||||||
description = "Path to GnuPG binary to use.";
|
description = "Path to GnuPG binary to use.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue