1.4 KiB
1.4 KiB
Configuration steps
1. Install NixOS
Follow the steps from the NixOS Manual Installation
At the edit configuration.nix step you must:
- Add a user to the configuration file and set a password
- Enable openssh
2. Configuring flake
- Clone this repository
- Copy hardware configuration to host
cp /etc/nixos/hardware-configuration.nix ~/nix/hosts/<host>/hardware-configuration.nix
- Rebuild system
sudo nixos-rebuild switch --flake .#<host>
- Rebuild home-manager
home-manager switch --flake .#<user>@<host>
- Reboot
3. Configuring docker containers
-
Create proxy network
docker network create proxy
-
Configure Adguard
-
Configure Caddy
-
Configure Authelia
-
Configure the rest of the services
Services
Name | Use | Domain | Auth |
---|---|---|---|
Adguard | DNS | https://adguard.timo.bmrs.nl/ | local |
Caddy | Reverse proxy | - | - |
Forgejo | Git | https://git.timo.bmrs.nl/ | Openid |
Ldap | User directory | https://ldap.timo.bmrs.nl/ | - |