This repository contains the NixOS configuration for my personal computers and servers.
You can find my Home Manager Config here: https://github.com/sumnerevans/home-manager-config/
-
Personal Computers
- coruscant: custom desktop
- scarif: ThinkPad T14s AMD Gen 3
- mustafar: Samsung Galaxy Chromebook
-
Servers
-
morak: Hetzner Cloud VPS (CPX11)
- Personal Websites
- Gonic
- Isso
- Murmur for Mumble
- Syncthing
- vaultwarden
- Xandikos
-
.----------------------------------------------------------------------------.
| WARNING: |
| |
| Don't install somebody else's NixOS configs. Use them as inspiration, but |
| don't actually just blindly copy. |
'----------------------------------------------------------------------------'
To install this configuration,
- Clone this repository to
/etc/nixos
on a NixOS system. - Unlock the repo using
git-crypt unlock /path/to/git-crypt/key
. - Create a new host configuration in the
host-configurations
folder. - Source the host configuration from
hardware-configuration.nix
. - Run
sudo nixos-rebuild switch --upgrade
.
- Infrastructure as code
- Immutable infrastructure (as much as possible)
- Everything backed up to B2
- Everything backed up to onsite location
-
Can blow away all servers (but not data) and restore in under an hour
-
Can restore all data within one day after catastrophic failure (everything goes down, including data)
- From local backup: 1 day
- From B2: 2 days
I am using Restic to backup everything on my server, and all of my important documents are stored in Syncthing, which is backed up from my server.