{"id":23557603,"url":"https://github.com/soikr/microvm-examples","last_synced_at":"2026-02-12T22:32:22.050Z","repository":{"id":265979435,"uuid":"897025918","full_name":"Soikr/microvm-examples","owner":"Soikr","description":"Simple examples for microvm.nix - Reflecting my knowledge","archived":false,"fork":false,"pushed_at":"2024-12-23T23:39:04.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T15:12:26.506Z","etag":null,"topics":["example","examples","microvm","microvms","nix","nixos"],"latest_commit_sha":null,"homepage":"https://github.com/astro/microvm.nix","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Soikr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T21:48:23.000Z","updated_at":"2024-12-23T23:41:55.000Z","dependencies_parsed_at":"2024-12-02T02:33:13.317Z","dependency_job_id":null,"html_url":"https://github.com/Soikr/microvm-examples","commit_stats":null,"previous_names":["soikr/microvm-examples"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soikr%2Fmicrovm-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soikr%2Fmicrovm-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soikr%2Fmicrovm-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Soikr%2Fmicrovm-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Soikr","download_url":"https://codeload.github.com/Soikr/microvm-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251683615,"owners_count":21626998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["example","examples","microvm","microvms","nix","nixos"],"created_at":"2024-12-26T15:14:48.516Z","updated_at":"2026-02-12T22:32:22.020Z","avatar_url":"https://github.com/Soikr.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# microvm-examples\nExtremely simple examples for [microvm](https://github.com/astro/microvm.nix), easily appliable to your configs\n\nI only started playing around with microvms the day before making this repo, so im no expert.\n\n\u003e [!WARNING]\n\u003e This is a simplified snippet of my current homelab.\n\u003e \n\u003e Most vm configs can be safely applied, host configurations are in ./nixos\n\n## Rebuilding\nRebuilding is as easy as `sudo nixos-rebuild switch --flake .#Avalanche`\n\u003e [!NOTE]\n\u003e This will apply the changes to the microvms as well since i implemented [declarative deployment](https://astro.github.io/microvm.nix/declarative.html#declarative-deployment)\n\n## Updating VMs\nDid you change some vm configuration? When rebuilding the host (#Avalanche) it may say the microvms didnt restart.\n\nRestarting the microvms requires `sudo microvm -Ru (microvm name)`\n\u003eFor example, you can restart the Minecraft microvm after tweaking its configs and rebuilding the host with:\n`sudo microvm -Ru Minecraft`\n\n## To do\n1. Extra services like wireguard\n2. Minecraft vm better managed imperatively\n\u003eMake a few notes on imperative configuration\n\u003e\n\u003eRemove declarative deployment for minecraft\n\u003e\n\u003eBetter minecraft example to better reflect a real configuration\n3. Configuration cleanup\n4. Additional removal info\n5. Eventually programmed networking alternative\n\n## Extra\nNot sure why but removal of microvms is iffy. These may help:\n\n\u003ehttps://github.com/astro/microvm.nix/issues/181\n\u003e\n\u003e[removing-microvms](https://astro.github.io/microvm.nix/microvm-command.html#removing-microvms)\n\n## Useful links:\nhttps://astro.github.io/microvm.nix/\n\nhttps://github.com/astro/microvm.nix\n\nYou can message me on discord: soikr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoikr%2Fmicrovm-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoikr%2Fmicrovm-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoikr%2Fmicrovm-examples/lists"}