My configuration/dotfiles, containing every host and every service in my nixos network.
Go to file
Felix Albrigtsen 211a2fde3c readme: add service overview 2024-02-11 20:35:21 +01:00
common metrics: parameterize 2024-01-09 10:12:24 +01:00
home neovim: add peristant undo file 2023-12-28 16:23:44 +01:00
hosts worf: fix rebuild issues. Remove voyager builder 2024-02-09 21:26:15 +01:00
secrets voyager: remove wireguard to uhura 2024-02-08 14:45:26 +01:00
shells worf: update to nixos-23.11 2023-12-17 01:05:34 +01:00
.gitignore Update worf, ctf-shell and flake.lock 2023-09-13 23:20:31 +02:00
.sops.yaml Move more services to defiant. Remove sarek. 2023-12-25 01:37:05 +01:00
README.md readme: add service overview 2024-02-11 20:35:21 +01:00
base.nix edison: various changes 2024-01-15 10:06:10 +01:00
flake.lock flake: update 2024-02-08 14:45:35 +01:00
flake.nix burnham: init. defiant: add wireguard 2024-01-25 11:36:05 +01:00
shell.nix Start adding sops secrets 2023-04-23 14:27:27 +02:00

README.md

Felixalbs nixos config

Contains configurations for some nixos servers, some nixos desktops and a nix-darwin host. Secrets are managed with sops-nix.

Build:

  • Build locally on another machine:
nix --extra-experimental-features "nix-command flakes" build ".#nixosConfigurations.sarek.config.system.build.toplevel"

(replace "sarek" with the hostname)

  • Build, install and switch on the actual target
nixos-rebuild switch --update-input nixpkgs --update-input unstable --no-write-lock-file --refresh --flake github+felixalbrigtsen/nixos-server-conf.git --upgrade

Services and tools

Below is a list of most of the services configured in this repo, at least the ones that are accessible to the public. It might be incomplete or out of date, but should generally describe the state of my homelab. Other installed packages and tools are described in the config files (like ./hosts/HOSTNAME/configuration.nix), but not listed here.

Public / important services

  • Matrix (source) - Decentralized, encrypted chat - Contact me at @felixalb:feal.no
  • Nextcloud (source) - Personal cloud services and "google replacements", including file hosting, notes, calendar and webmail
  • Gitea (source) - Software forge / git server
  • Hedgedoc (source) - Collaborative markdown notes editor
  • HomeAssistant (source)- Home automation / IOT controller
  • VaultWarden (source) - BitWarden Password Manager backend
  • Kanidm (source) - Authentication provider with support for OAuth2/OIDC, LDAPS, SSH, etc.
  • Jellyfin (source) - Local media streaming

Networking

  • I use nginx as a web server and reverse proxy. The configuration is mostly distributed throughout the services that use it (example).
  • I recently switched from Tailscale(actually headscale) to WireGuard, configured here and here.
  • PiHole (source) run my internal DNS (*.home.feal.no) and ad blocking.

Monitoring

  • Prometheus (source) - Pull-based metrics system that fetches metrics over HTTP from a range of exporters and stores them in a time-series database
  • Loki (source) - Central logging for all my hosts
  • Grafana (source) - Visualization and alerting for all my metrics and logs

Dotfiles and user tools

  • (Neo)vim (source) - Text editor with my configuration for IDE-like support for autocompletion, syntax highlighting and efficient editing.
  • Zsh (source) - My shell of choice