Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months ago
JSON representation
Homelab configuration for the NixOS on bare-metal hardware
- Host: GitHub
- URL: https://github.com/timotej979/homelab-nix
- Owner: Timotej979
- License: apache-2.0
- Created: 2024-09-02T07:40:50.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T18:52:04.000Z (4 months ago)
- Last Synced: 2024-10-12T22:04:22.957Z (2 months ago)
- Topics: cicd, github-actions, infisical, nix, nixos
- Language: Nix
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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=
```
-