Skip to content

NixOS KVM guests with a similar interface to containers.

Notifications You must be signed in to change notification settings

Nekroze/kvms.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

kvms.nix

NixOS KVM guests with a similar interface to containers.

Clone this repo into your /etc/nixos and import it in your configuration.nix like so:

  imports = [ ./kvms.nix ];

Then you can enable the module and configure as many VM's as you would like, here we create a single vm running postgres:

  kvms.enable = true;
  kvms.vms.database = {
    autostart = true;
    config = {config, ...}:
    {
      services.postgresql.enable = true;
    }
  }

About

NixOS KVM guests with a similar interface to containers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages