Adds a user & group which are configured to own the local depot copy, and a cgit service to serve it. The depot checkout was configured as: mkdir -p /var/git && chown git: /var/git # now, as the git user, in /var/git git clone --bare ... depot chmod -R g+rw /var/git chmod g+s (find /var/git -type d) git init --bare --shared=all depot My personal user is a member of the git group, which means that after the above configuration I can push to the bare repo as my user and things work. Also, crucially, the `post-update` hook must be enabled as cgit uses the dumb HTTP transport. |
||
|---|---|---|
| .. | ||
| camden | ||
| dotfiles | ||
| modules | ||
| nugget | ||
| .gitignore | ||
| default.nix | ||
| mail.nix | ||
| README.md | ||
NixOS configuration
My NixOS configuration! It configures most of the packages I require on my systems, sets up Emacs the way I need and does a bunch of other interesting things.
System configuration lives in folders for each machine and a custom fixed point evaluation (similar to standard NixOS module configuration) is used to combine configuration together.
Building ops.nixos.rebuilder yields a script that will automatically
build and activate the newest configuration based on the current
hostname.
Configured hosts:
nugget- desktop computer at home(currently with edef)urdhva- T470s