{"id":20534687,"url":"https://github.com/qbit/nixos-vmm","last_synced_at":"2025-04-14T06:54:26.864Z","repository":{"id":136345196,"uuid":"366190312","full_name":"qbit/nixos-vmm","owner":"qbit","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-20T01:45:14.000Z","size":9,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T20:41:17.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-05-10T22:23:51.000Z","updated_at":"2025-02-19T21:01:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e9d582e-dfae-4566-84ed-9e8114c433b5","html_url":"https://github.com/qbit/nixos-vmm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fnixos-vmm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fnixos-vmm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fnixos-vmm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fnixos-vmm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbit","download_url":"https://codeload.github.com/qbit/nixos-vmm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837282,"owners_count":21169374,"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":[],"created_at":"2024-11-16T00:27:45.569Z","updated_at":"2025-04-14T06:54:26.856Z","avatar_url":"https://github.com/qbit.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS VMM\n\nA nix expression to:\n  - Build an install ISO for OpenBSD's VMM.\n  - Configure a running system to use [vmm_clock](https://github.com/voutilad/vmm_clock) and [virtio_vmmci](https://github.com/voutilad/virtio_vmmci).\n\n## What it does:\n\nCreates a NixOS install ISO or system with the following pre-configured for OpenBSD's\nVMM:\n\n- NixOS will use the serial console: `console=ttyS0,115200n8`.\n- [vmm_clock](https://github.com/voutilad/vmm_clock) and [virtio_vmmci](https://github.com/voutilad/virtio_vmmci) kernel modules are installed.\n- Installs `tmux`, `vim` and `mg` into the ram disk for usage during the\n  install.\n\n## Using via configuration.nix\n\n```\n{ config, lib, ... }:\n\nlet\n  ...\n  openbsdVMM = builtins.fetchGit {\n    url = \"https://github.com/qbit/nixos-vmm.git\";\n    ref = \"refs/tags/v1.0.0\";\n  };\n  ...\n\nin {\n  imports =\n  [\n    ...\n    (import \"${openbsdVMM}\")\n    ...\n  ];\n  ...\n}\n```\n\n## Building an ISO\n\n```\nnix-build '\u003cnixpkgs/nixos\u003e' -A config.system.build.isoImage -I nixos-config=iso-builder.nix\n```\n\nWill result in:\n\n```\n% ls result/iso\nnixos-20.09.4064.1b688ca59ba-x86_64-linux.iso\n%\n```\n\n### Pre-built ISO\n\nIf you don't have an existing NixOS machine to build the ISO with, here is a pre-built ISO that can be used:\n\n| File | Purpose |\n| --- | --- |\n| [nixos-21.11.334934.8a053bc2255-x86_64-linux.iso](https://deftly.net/nixos-21.11.334934.8a053bc2255-x86_64-linux.iso) | Minimal install ISO with vmm kernel modules |\n| [nixos-21.11.334934.8a053bc2255-x86_64-linux.iso.sha256](https://deftly.net/nixos-21.11.334934.8a053bc2255-x86_64-linux.iso.sha256) | SHA256 signature for the ISO |\n| [nixos-21.11.334934.8a053bc2255-x86_64-linux.iso.sha256.asc](https://deftly.net/nixos-21.11.334934.8a053bc2255-x86_64-linux.iso.sha256.asc) | GPG Signature for the sha256 file |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fnixos-vmm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbit%2Fnixos-vmm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fnixos-vmm/lists"}