NixOS configs for new Redbrick deployment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Cian Butler 7b019827a9
add http redirect for anyterm and ajaxterm
2 years ago
common Tweak nscd 2 years ago
hosts Add thelounge config 2 years ago
services add http redirect for anyterm and ajaxterm 2 years ago
.gitignore Add working phpfpm config for first few users 2 years ago
README.md Add working phpfpm config for first few users 2 years ago

README.md

NixOS Configurations

Used to deploy redbrick 2.0

Installation

cd /etc/nixos
tar -cjf ~/nixos_backup.tar.bz2 *
rm *
git clone $THIS_REPO .
ln -s hosts/$(hostname)/configuration.nix .
nixos-rebuild switch

Deploying Apache/httpd

users.nix needs to be generated before deploying Apache. Use this command:

cd services/httpd
ldapsearch -b o=redbrick -h ldap.internal -xLLL objectClass=posixAccount uid homeDirectory gidNumber | python3 ldap2nix.py /storage/webtree/ > users.nix