From fff9b24ec98515cdd19cb3d6490b6214bacae792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 22 Dec 2019 13:07:51 +0000 Subject: populate file: add exclude option --- lib/types/populate.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') 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 { -- cgit v1.2.3