Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wunderwerkio/nix-install
https://github.com/wunderwerkio/nix-install
Last synced: about 1 hour ago
JSON representation
- Host: GitHub
- URL: https://github.com/wunderwerkio/nix-install
- Owner: wunderwerkio
- Created: 2024-02-12T10:40:42.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T12:40:21.000Z (10 months ago)
- Last Synced: 2024-11-07T20:35:40.167Z (about 2 months ago)
- Language: Nix
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nix Install
This nix flake provides a quick and easy way to install NixOS.
The system is installed using **Nix Flakes**.Currently, only Hetzner is supported.
## Hetzner
This script partitions the specified drive as follows:
- 500MB EFI partition
- Remaining space as EXT4 system partitionA base system configuration is created:
- IPv4 DHCP
- IPv6 static (user-supplied) [See Docs](https://nixos.wiki/wiki/Install_NixOS_on_Hetzner_Cloud#Network_configuration)
- Enables SSH with Password Login (Change this!)
- Enables Firewall with ports 80, 443, 22 open by default
- Installs `vim`, `curl`, `git` and `htop`### Usage
- Create a new VPS instance with any distro (either x86 or ARM64)
- In VPS settings under *ISO Images* mount the *NixOS* ISO.
- Start VPS and open console and wait for shell (may take some time with black sreen)
- Change to root user `sudo -i`
- Run script `nix --extra-experimental-features "nix-command flakes" run "github:wunderwerkio/nix-install#hetzner" `