switch to podman && add amdgpu kernel module

This commit is contained in:
gpskwlkr 2024-03-27 01:23:46 +04:00
parent f7e2c26626
commit 75e790d690
8 changed files with 26 additions and 18 deletions

View file

@ -1,30 +1,29 @@
{ pkgs, ... }:
{
virtualisation.libvirtd = {
enable = true;
virtualisation = {
spiceUSBRedirection.enable = true;
qemu = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
virtualisation.spiceUSBRedirection.enable = true;
services.spice-vdagentd.enable = true;
virtualisation.docker = {
enable = true;
enableOnBoot = true;
rootless = {
enable = true;
setSocketVariable = true;
};
};
environment.systemPackages = with pkgs; [
docker-compose
podman-compose
qemu
spice
spice-gtk