Update docs and examples

This commit is contained in:
Davíð Steinn Geirsson 2026-03-07 17:49:04 +00:00
parent 6a285760cd
commit 3b0bbd088d
3 changed files with 5 additions and 15 deletions

View file

@ -25,7 +25,7 @@ The built VMs are full-fat NixOS systems (a bit over 2GB for a VM with firefox).
- PCI passthrough
- System tray integration (VM tray applets appear in host system tray, with VM color border)
- Dynamic memory control through vmsilo-balloond, when host memory is low it will reclaim memory from VMs
- Auto shutdown idle VMs
- Auto shutdown idle VMs (optional, can be enabled in VM settings)
## Comparison to Qubes
@ -134,6 +134,8 @@ For mpv, make sure you use `--vo=wlshm`. Other backends probably won't work.
## Configuration Options
There are a lot of configuration options but you don't really need to touch most of them. Check the examples for what a basic configuration looks like.
### `programs.vmsilo`
| Option | Type | Default | Description |
@ -268,7 +270,7 @@ client1.network.netvmSubnet = "10.200.5.2/31"; # client gets .2, router gets .3
### Network Interface Configuration (`network.interfaces.<name>`)
The `network.interfaces` option is an attrset where keys become guest-visible interface names (e.g., `wan`, `internal`).
For advanced or non-standard network configuration, you can manually configure interfaces. The `network.interfaces` option is an attrset where keys become guest-visible interface names (e.g., `wan`, `internal`).
| Option | Type | Default | Description |
|--------|------|---------|-------------|

View file

@ -45,8 +45,6 @@
{
enable = true;
user = "david";
hostNetworking.nat.enable = true;
hostNetworking.nat.interface = "en+";
nixosVms = {
untrusted = {
@ -59,7 +57,6 @@
};
guestConfig = [
vmsilo.nixosModules.optionalGuestSettings
{ documentation.nixos.enable = true; }
];
guestPrograms = commonGuestPrograms;
};
@ -129,16 +126,6 @@
netvm = "host";
nameservers = [ "8.8.8.8" ];
};
guestPrograms = with pkgs; [
tcpdump
iperf
conntrack-tools
nftables
iptables
ethtool
bpftools
net-tools
];
guestConfig = [
vmsilo.nixosModules.optionalGuestSettings
];

View file

@ -14,6 +14,7 @@
{
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit vmsilo; };
modules = [
vmsilo.nixosModules.default
./configuration.nix