# Summary

Rebuild the system with
```nix
sudo nixos-rebuild switch --flake "${HOME}/.config/nix-config"
```
or
```nix
sudo nixos-rebuild --upgrade switch --flake "${HOME}/.config/nix-config"
```
The flake system will automatically choose the configuration based on the current hostname.

# Modules

- `common.nix` -- Common configuration for Nix systems (such as users and fundamental environment items)
- `packages_core.nix` -- Core packages, used almost everywhere. `vim`, `ripgrep`, `htop` and such.
- `packages.nix` -- More sophisticated packages
- `security.nix` -- Security configurations: firewall, ssh, certificates, etc.
- `services.nix` -- Regularly-run services such as syncthing and fail2ban