dotfiles/nixos/modules/virtualisation.nix
Bart van der Braak ab338d3b15
Big refactor (#8)
* Update to 24.11 channel and add `ghostty`

* full restructure

* minor changes

* fix issues

* fixes and improvements

* Add back some old config

* working example for now
2025-01-21 22:26:22 +01:00

23 lines
No EOL
491 B
Nix

{ pkgs, ... }:
{
# Enable Docker
virtualisation.docker.enable = true;
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
users.extraGroups.docker.members = [ "bart" ];
# Add KVM support
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
users.extraGroups.libvirtd.members = [ "bart" ];
environment.systemPackages = with pkgs; [
qemu
docker-compose
lazydocker
docker-credential-helpers
];
}