diff options
| author | Jörg Thalheim <joerg@thalheim.io> | 2019-12-22 13:07:51 +0000 | 
|---|---|---|
| committer | Lassulus <github@lassul.us> | 2019-12-23 21:18:35 +0100 | 
| commit | fff9b24ec98515cdd19cb3d6490b6214bacae792 (patch) | |
| tree | 93f9ffe1d0e3dc8fddc5cf6546ae490ba4a79102 /lib | |
| parent | f2f8cbf1afcb2c26d11e5f82c0b523b2cb10205c (diff) | |
populate file: add exclude option
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/types/populate.nix | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/lib/types/populate.nix b/lib/types/populate.nix index bf90ace..e23ddb0 100644 --- a/lib/types/populate.nix +++ b/lib/types/populate.nix @@ -71,6 +71,11 @@            default = false;            type = lib.types.bool;          }; +        exclude = lib.mkOption { +          type = lib.types.listOf lib.types.str; +          default = []; +          example = [".git"]; +        };        };      };      git = lib.types.submodule { | 
