all repos — elgit @ fe5717d46ccc9ca20561b8f82598dcbde03bb937

fork of legit: web frontend for git, written in go

fix(nixos): set default readme files
Alan Pearce alan@alanpearce.eu
Mon, 31 Mar 2025 08:42:38 +0200
commit

fe5717d46ccc9ca20561b8f82598dcbde03bb937

parent

4f7cc84e78a5f6440231a3ad5f9f3c906e5032b8

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M nix/nixos-module.nixnix/nixos-module.nix
@@ -59,7 +59,12 @@ description = "Directory where elgit will scan for repositories.";           };
           readme = mkOption {
             type = types.listOf types.str;
-            default = [ ];
+            default = [
+              "readme"
+              "README"
+              "readme.md"
+              "README.md"
+            ];
             description = "Readme files to look for.";
           };
           mainBranch = mkOption {