8000 GitHub - deedee-ops/nixlab: Homelab - powered by nix and NixOS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

deedee-ops/nixlab

Repository files navigation

nixlab

Prepare base incus VM

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

# trusted is profile name
incus launch --vm nixos/base/vm <machine name> -c volatile.eth0.hwaddr=<mac address> -p trusted

Bootstrap machine to the VM

nix run .#bootstrap <machine name> [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/<machine>/default.nix

Deploy machine

deploy .#<machine name>

Install on a machine locally

nix run github:deedee-ops/nixlab#disko-install <machine name> <disk name> <disk device>

About

Homelab - powered by nix and NixOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0