https://github.com/sakuexe/nixos_cloud
Nix-ifying my VPSes. Currently only used with Hetzner Cloud
https://github.com/sakuexe/nixos_cloud
hetzner-cloud linux nixos server vps
Last synced: 3 months ago
JSON representation
Nix-ifying my VPSes. Currently only used with Hetzner Cloud
- Host: GitHub
- URL: https://github.com/sakuexe/nixos_cloud
- Owner: sakuexe
- License: mit
- Created: 2026-02-08T07:56:50.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-04-06T23:54:06.000Z (3 months ago)
- Last Synced: 2026-04-07T01:22:42.834Z (3 months ago)
- Topics: hetzner-cloud, linux, nixos, server, vps
- Language: Nix
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NixOS configurations for the cloud
This repository contains the files for my NixOS virtual machines.
I mostly use Hetzner Cloud, so they are optimized for that.
## Features
- All server configurations in one place
- Setting up new servers is Blazingly Fast™
- Improved security with declerative hardening with configuration files
- All VMs running the same version thanks to the [flake.lock](./flake.lock) file
- Automated updates once a day with Github Actions
## Updates
The system checks for updates once a day and applies them to the
configuration if there are any.
[Update notes](https://github.com/sakuexe/nixos_cloud/actions?query=event%3Aschedule+is%3Asuccess++)
## Installation
The installation uses [nixos-anywhere](https://github.com/nix-community/nixos-anywhere)
to make the process easy.
**Dependencies**
- Local system with `nix` installed
- SSH keys for the new system (set in common.nix)
**Command**
```bash
nix run github:nix-community/nixos-anywhere -- \
--ssh-option IdentityFile=~/.ssh/ \
--ssh-option IdentitiesOnly=yes \
--flake .# \
--generate-hardware-config nixos-generate-config \
./hosts//hardware-configuration.nix \
root@
```
## References
- [Install NixOS on Hetzner - NixOS Wiki](https://wiki.nixos.org/wiki/Install_NixOS_on_Hetzner_Cloud)