Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deedee-ops/nixlab
Homelab - powered by nix and NixOS
https://github.com/deedee-ops/nixlab
gitops homelab nix nixos renovate selfhosted
Last synced: 4 days ago
JSON representation
Homelab - powered by nix and NixOS
- Host: GitHub
- URL: https://github.com/deedee-ops/nixlab
- Owner: deedee-ops
- Created: 2024-10-07T14:59:17.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-12-15T19:02:34.000Z (9 days ago)
- Last Synced: 2024-12-15T20:18:10.487Z (9 days ago)
- Topics: gitops, homelab, nix, nixos, renovate, selfhosted
- Language: Nix
- Homepage:
- Size: 78.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nixlab
## Prepare base incus VM
```bash
nix run .#build-base-vm# or if you don't want to clone repo
nix run github:deedee-ops/nixlab#build-base-vm
```This will build and import `nixos/base/vm` image to incus.
## Launch the VM
```bash
# trusted is profile name
incus launch --vm nixos/base/vm -c volatile.eth0.hwaddr= -p trusted
```## Bootstrap machine to the VM
```bash
nix run .#bootstrap [machine IP]
```- `machine name` is a machine identificator, one from the `./machines`
- `machine ip` is optional, if not provided, it will be picked up from `./machines//default.nix`## Deploy machine
```bash
deploy .#
```## Install on a machine locally
```bash
nix run github:deedee-ops/nixlab#disko-install
```