summaryrefslogtreecommitdiff
path: root/gitolite.nix
diff options
context:
space:
mode:
authorSystem administrator <root@nix.webgit.mccd.space>2024-01-20 21:18:57 +0000
committerSystem administrator <root@nix.webgit.mccd.space>2024-01-20 21:18:57 +0000
commitc3a5ade1e80934f13b4760ebaddfbe7c0ca356e5 (patch)
tree2e098a711f25b8b7f653c788bd002e0e80ce1a3b /gitolite.nix
downloadnixos-c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5.tar.gz
nixos-c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5.tar.bz2
nixos-c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5.zip
Add initial nix config
Diffstat (limited to 'gitolite.nix')
-rw-r--r--gitolite.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/gitolite.nix b/gitolite.nix
new file mode 100644
index 0000000..1811387
--- /dev/null
+++ b/gitolite.nix
@@ -0,0 +1,10 @@
+{
+ services.gitolite = {
+ user = "git";
+ extraGitoliteRc = ''
+ $RC{UMASK} = 0027;
+ '';
+ enable = true;
+ adminPubkey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDcVScuh69V2OoYvMvPPgg0V2rNOaaEBBKpfsflnb97u1XltWeO9GnjkSfnfkY73M67eWuMwf9VwSjcYuDAguUEtCBlFEiZydmqgA5efqHwTIoxAegXL4Imb/pWnvryFQ7bbpcbY6gCNIskGMsUOv67AVXL5zPcFPmh/gQEOQH+Zp7AaJ264HWkwBuM63OYxuQ4vB/6jxWGW8j6UF9dvqemtRyFytpXW8R7y3B7sbI+tO+vuB2+O5NNguv3KStT00ktfLxoZJ2koAIb0HBOoKlbeoFVR/K3S8NeWbsZQMHY1W519rQm3TN6rDBLjdRDYQS1Y5ECNAfgbdrz5Ed8R1P1AqqzBAfEp0ooFeitN8BDrwbntiMF+qpPWzNIzJkWOgpfU7YBr/JCsSdtnVAMJo4lKC3mu5PKGROUE/rfd0/rn03HD/rgyhPvREtwUrfQTc4VzQP2Ntdw3tsZRpaNk7FZPtXApKu9Wt6TwS74n6ma4Q33opfqyDV0UzpsUCYncx8= marcc@mccd";
+ };
+}