nix/homelab
2024-11-24 21:01:26 +01:00
..
adguard Merge branch 'main' of ssh://gitea.xeovalyte.dev:2222/xeovalyte/nix 2024-11-24 21:01:26 +01:00
authelia Merge branch 'main' of ssh://gitea.xeovalyte.dev:2222/xeovalyte/nix 2024-11-24 21:01:26 +01:00
caddy Merge branch 'main' of ssh://gitea.xeovalyte.dev:2222/xeovalyte/nix 2024-11-24 21:01:26 +01:00
dozzle Added dozzle 2024-10-24 20:14:50 +02:00
forgejo Added nextcloud and immich 2024-10-23 10:12:13 +02:00
homeassistant Added SearXNG, Homeassistant and Paperless 2024-11-05 21:03:34 +01:00
homepage Added nextcloud and immich 2024-10-23 10:12:13 +02:00
immich Added nextcloud and immich 2024-10-23 10:12:13 +02:00
nextcloud Last 24.05 update 2024-11-24 21:00:21 +01:00
paperless-ngx Added SearXNG, Homeassistant and Paperless 2024-11-05 21:03:34 +01:00
searxng Added SearXNG, Homeassistant and Paperless 2024-11-05 21:03:34 +01:00
uptime-kuma Added multiple services 2024-10-17 19:28:08 +02:00
vaultwarden Added multiple services 2024-10-17 19:28:08 +02:00
.gitignore Added authelia, caddy and adguard 2024-10-13 17:05:00 +02:00
README.md Last 24.05 update 2024-11-24 21:00:21 +01:00

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

  1. Clone this repository
  2. Copy hardware configuration to host
    cp /etc/nixos/hardware-configuration.nix ~/nix/hosts/<host>/hardware-configuration.nix
  3. Rebuild system sudo nixos-rebuild switch --flake .#<host>
  4. Rebuild home-manager home-manager switch --flake .#<user>@<host>
  5. Reboot

3. Configuring docker containers

  1. Create proxy network
    docker network create proxy

  2. Configure Adguard

  3. Configure Caddy

  4. Configure Authelia

  5. 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/ -

Services to try out