From 656816ed9af6277bbeb1c5e74471bace3a78e5be Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 16 Nov 2020 11:47:36 -0500 Subject: get build working and capitalize more files --- Biz/Cloud/Git.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Biz/Cloud/Git.nix (limited to 'Biz/Cloud/Git.nix') diff --git a/Biz/Cloud/Git.nix b/Biz/Cloud/Git.nix new file mode 100644 index 0000000..6104ced --- /dev/null +++ b/Biz/Cloud/Git.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: + +{ + services = { + gitolite = { + enable = true; + enableGitAnnex = true; + dataDir = "/srv/git"; + user = "git"; + group = "git"; + extraGitoliteRc = '' + $RC{SITE_INFO} = 'a computer is a bicycle for the mind.'; + ''; + adminPubkey = builtins.readFile ../Keys/Ben.pub; + }; + }; +} -- cgit v1.2.3