My NixOS configuration files. Only used for my self-hosted infra at the moment.
The process to upgrade is: * Make sure the version number of the script is one major version over the service version. * Activate the script, rebuild configuration. * Run `upgrade-pg-cluster` as `root`. One can give arguments like `--link` or `--jobs 4` to speedup the process. See documentation for some details. * Change package to new version once the upgrade is finished, rebuild configuration. * Optionally, `ANALYZE` the new database. |
||
|---|---|---|
| .git-crypt | ||
| home | ||
| lib | ||
| machines | ||
| modules | ||
| overlays | ||
| pkgs | ||
| profiles | ||
| secrets | ||
| .drone.yml | ||
| .envrc | ||
| .gitignore | ||
| bootstrap.sh | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Nix-config
My NixOS-based system configuration files.
Currently only used as an experiment to self-host a new server.
Steps
First build using flakes:
sudo nixos-rebuild switch --flake .
Secondly, take care of a few manual steps:
- Configure Gitea and Drone
- Configure Lohr webhook and SSH key
- Configure Jellyfin
- Configure Jackett and NZBHydra2
- Configure Sonarr, Radarr, Bazarr
- Configure Transmission's webui port
- Configure Quassel user
- Configure Flood account