Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.17 KB

File metadata and controls

50 lines (35 loc) · 1.17 KB

Nixfiles

My playground to experiment on my machines using Nix flakes.

Having only played around with Nix for around a year, this is very much a work in progress !

Host NixOS version Cpu architecture Description
baldur Unstable x86_64 AMD Laptop
njord Unstable aarch64 M2 Macbook Air Laptop
heimdall Unstable aarch64 Mac Mini M1 server
asgard 25.05 aarch64 DNS for main site (Pi 3)
yggdrasil 25.05 x86_64 Main NAS
midgard 25.05 x86_64 Backup NAS
vili 25.05 aarch64 DNS for secondary site (VM)
vmTemplates 25.05 aarch64 VM template using cloud-init

Build config for current host

just build

Switch to new config for current host

just switch

Build config for remote host

just build-remote HOSTNAME

Switch to new config for remote host

just switch-remote FQDN

Building VM template image

Based on flake from voidus

nix build ./hosts/vmTemplates/aarch64#image

If building from x86 host this usually takes around 40 minutes.