Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timotej979/homelab-nix

Homelab configuration for the NixOS on bare-metal hardware
https://github.com/timotej979/homelab-nix

cicd github-actions infisical nix nixos

Last synced: 6 days ago
JSON representation

Homelab configuration for the NixOS on bare-metal hardware

Awesome Lists containing this project

README

        

# Homelab-Nix




Homelab configuration for the NixOS running on bare-metal hardware. We are using proxmox on top of NixOS as a virtualization platform and [terraform](https://github.com/Timotej979/homelab-terraform) to dynamicaly provision the VMs for the kubernetes clusters. Secrets management is done using Infisical secrets storage available in the cloud so we have a completely reporoducible infrastructure.

## Requirements

Installed NixOS on the bare-metal hardware.

# Setup

Requirements:
- Installed NixOS on the bare-metal hardware
- Set up of your Infisical account and secrets storage
- Create a [Infisical Machine Identity](https://infisical.com/docs/documentation/platform/identities/machine-identities) for your machine
- Add [Environment Viewer Access](https://infisical.com/docs/documentation/platform/identities/universal-auth) to the machine identity
- Export the `INFISICAL_TOKEN` and `INFISICAL_PROJECT_ID` environment variables for the machine identity and your project
```bash
# --plain flag will output only the token, so it can be fed to an environment variable. --silent will disable any update messages
export INFISICAL_TOKEN=$(infisical login --method=universal-auth --client-id= --client-secret= --silent --plain) .
export INFISICAL_PROJECT_ID=
```
-