My NixOS and Home Manager configs. Everything is a Nix flake.
- alfred -- x86_64 NAS, media services (Plex, Sonarr, Radarr, etc.)
- jamie-desktop -- main desktop, AMD CPU/GPU, KDE Plasma, gaming
- jamie-hyperv -- Hyper-V Generation 2 VM, KDE Plasma, dev tools
- oci-vm -- Oracle Cloud ARM64 VM
- rpi5 -- Raspberry Pi 5, Home Assistant, AdGuard, Caddy
There are also standalone Home Manager configs for WSL machines. See docs/WSL.md.
flake.nix -- entry point
hosts/
alfred/ -- NAS / media server
jamie-desktop/ -- main desktop
jamie-hyperv/ -- Hyper-V VM
oci-vm/ -- Oracle Cloud VM
rpi5/ -- Raspberry Pi 5
common/ -- shared NixOS modules
home/
jamie/ -- Home Manager user configs
modules/ -- custom NixOS and Home Manager modules
Build and switch on the local machine:
sudo nixos-rebuild switch --flake .#hostnameApply Home Manager standalone:
home-manager switch --flake .#username@hostnameDeploy to a remote host:
nix run github:serokell/deploy-rs .#hostnameBuild a Hyper-V VHDX image you can import directly (works from any machine with Nix):
nix build .#nixosConfigurations.jamie-hyperv.config.system.build.images.hyperv