├── .direnv ├── flake-profile └── flake-profile-2-link ├── .envrc ├── .github └── workflows │ ├── flake-check.yml │ └── flakehub-publish-tagged.yml ├── .gitignore ├── .vscode └── tasks.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── checks ├── checks.nix ├── domain │ ├── empty │ │ ├── expected.xml │ │ └── input.nix │ ├── issues │ │ ├── expected.xml │ │ └── input.nix │ ├── template-linux-1 │ │ ├── expected.xml │ │ └── input.nix │ ├── template-linux-2 │ │ ├── expected.xml │ │ └── input.nix │ ├── template-lxc │ │ ├── expected.xml │ │ └── input.nix │ ├── template-windows-1 │ │ ├── expected.xml │ │ └── input.nix │ ├── template-windows-2 │ │ ├── expected.xml │ │ └── input.nix │ ├── template-windows-3 │ │ ├── expected.xml │ │ └── input.nix │ └── win11 │ │ ├── expected.xml │ │ └── input.nix ├── network │ ├── bridge │ │ ├── expected.xml │ │ └── input.nix │ └── empty │ │ ├── expected.xml │ │ └── input.nix ├── pool │ └── empty │ │ ├── expected.xml │ │ └── input.nix └── volume │ └── typical │ ├── expected.xml │ └── input.nix ├── flake.lock ├── flake.nix ├── generate-xml ├── domain.nix ├── generate.nix ├── netbandwidth.nix ├── network.nix ├── pool.nix ├── volume.nix └── xml.nix ├── guest-install.nix ├── justfile ├── lib.nix ├── modules.nix ├── templates ├── domain.nix ├── domain │ ├── base.nix │ ├── linux.nix │ └── windows.nix └── network.nix └── tool ├── nixvirt-module-helper ├── nixvirt.py └── virtdeclare /.direnv/flake-profile: -------------------------------------------------------------------------------- 1 | flake-profile-2-link -------------------------------------------------------------------------------- /.direnv/flake-profile-2-link: -------------------------------------------------------------------------------- 1 | /nix/store/vkz88qgk9iknknka9dsix454rmggsfxc-nix-shell-env -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.github/workflows/flake-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/.github/workflows/flake-check.yml -------------------------------------------------------------------------------- /.github/workflows/flakehub-publish-tagged.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/.github/workflows/flakehub-publish-tagged.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /result* 2 | -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/README.md -------------------------------------------------------------------------------- /checks/checks.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/checks.nix -------------------------------------------------------------------------------- /checks/domain/empty/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/empty/expected.xml -------------------------------------------------------------------------------- /checks/domain/empty/input.nix: -------------------------------------------------------------------------------- 1 | { ... }: 2 | { 3 | name = "empty"; 4 | } 5 | -------------------------------------------------------------------------------- /checks/domain/issues/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/issues/expected.xml -------------------------------------------------------------------------------- /checks/domain/issues/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/issues/input.nix -------------------------------------------------------------------------------- /checks/domain/template-linux-1/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-linux-1/expected.xml -------------------------------------------------------------------------------- /checks/domain/template-linux-1/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-linux-1/input.nix -------------------------------------------------------------------------------- /checks/domain/template-linux-2/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-linux-2/expected.xml -------------------------------------------------------------------------------- /checks/domain/template-linux-2/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-linux-2/input.nix -------------------------------------------------------------------------------- /checks/domain/template-lxc/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-lxc/expected.xml -------------------------------------------------------------------------------- /checks/domain/template-lxc/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-lxc/input.nix -------------------------------------------------------------------------------- /checks/domain/template-windows-1/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-windows-1/expected.xml -------------------------------------------------------------------------------- /checks/domain/template-windows-1/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-windows-1/input.nix -------------------------------------------------------------------------------- /checks/domain/template-windows-2/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-windows-2/expected.xml -------------------------------------------------------------------------------- /checks/domain/template-windows-2/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-windows-2/input.nix -------------------------------------------------------------------------------- /checks/domain/template-windows-3/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-windows-3/expected.xml -------------------------------------------------------------------------------- /checks/domain/template-windows-3/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/template-windows-3/input.nix -------------------------------------------------------------------------------- /checks/domain/win11/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/win11/expected.xml -------------------------------------------------------------------------------- /checks/domain/win11/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/domain/win11/input.nix -------------------------------------------------------------------------------- /checks/network/bridge/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/network/bridge/expected.xml -------------------------------------------------------------------------------- /checks/network/bridge/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/network/bridge/input.nix -------------------------------------------------------------------------------- /checks/network/empty/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/network/empty/expected.xml -------------------------------------------------------------------------------- /checks/network/empty/input.nix: -------------------------------------------------------------------------------- 1 | { ... }: 2 | { 3 | name = "empty"; 4 | } 5 | -------------------------------------------------------------------------------- /checks/pool/empty/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/pool/empty/expected.xml -------------------------------------------------------------------------------- /checks/pool/empty/input.nix: -------------------------------------------------------------------------------- 1 | { ... }: 2 | { 3 | name = "empty"; 4 | } 5 | -------------------------------------------------------------------------------- /checks/volume/typical/expected.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/volume/typical/expected.xml -------------------------------------------------------------------------------- /checks/volume/typical/input.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/checks/volume/typical/input.nix -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/flake.nix -------------------------------------------------------------------------------- /generate-xml/domain.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/generate-xml/domain.nix -------------------------------------------------------------------------------- /generate-xml/generate.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/generate-xml/generate.nix -------------------------------------------------------------------------------- /generate-xml/netbandwidth.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/generate-xml/netbandwidth.nix -------------------------------------------------------------------------------- /generate-xml/network.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/generate-xml/network.nix -------------------------------------------------------------------------------- /generate-xml/pool.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/generate-xml/pool.nix -------------------------------------------------------------------------------- /generate-xml/volume.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/generate-xml/volume.nix -------------------------------------------------------------------------------- /generate-xml/xml.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/generate-xml/xml.nix -------------------------------------------------------------------------------- /guest-install.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/guest-install.nix -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/justfile -------------------------------------------------------------------------------- /lib.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/lib.nix -------------------------------------------------------------------------------- /modules.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/modules.nix -------------------------------------------------------------------------------- /templates/domain.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/templates/domain.nix -------------------------------------------------------------------------------- /templates/domain/base.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/templates/domain/base.nix -------------------------------------------------------------------------------- /templates/domain/linux.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/templates/domain/linux.nix -------------------------------------------------------------------------------- /templates/domain/windows.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/templates/domain/windows.nix -------------------------------------------------------------------------------- /templates/network.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/templates/network.nix -------------------------------------------------------------------------------- /tool/nixvirt-module-helper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/tool/nixvirt-module-helper -------------------------------------------------------------------------------- /tool/nixvirt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/tool/nixvirt.py -------------------------------------------------------------------------------- /tool/virtdeclare: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AshleyYakeley/NixVirt/HEAD/tool/virtdeclare --------------------------------------------------------------------------------