Setup gitolite
This commit is contained in:
parent
baa1c1f5fe
commit
7f2ba45f29
|
@ -14,6 +14,7 @@
|
|||
./borgbackup.nix
|
||||
./nginx.nix
|
||||
./hopglass-frontend.nix
|
||||
./gitolite.nix
|
||||
];
|
||||
|
||||
# Configuration options for the mailserver
|
||||
|
|
11
gitolite.nix
Normal file
11
gitolite.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.gitolite = {
|
||||
enable = true;
|
||||
dataDir = "/srv/gitolite";
|
||||
user = "git";
|
||||
group = "git";
|
||||
adminPubkey = "";
|
||||
};
|
||||
}
|
|
@ -22,6 +22,11 @@
|
|||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/srv/gitolite" =
|
||||
{ device = "/dev/disk/by-uuid/5c846acb-aa67-466d-a0a3-31d1f778bf4d";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
# encrypt the swap device. why not.
|
||||
# needs the UUID of the partition, as the swap id will be lost on every boot.
|
||||
swapDevices =
|
||||
|
|
Loading…
Reference in a new issue