enable docker and update

This commit is contained in:
Julian Sutter 2025-03-03 10:42:38 -08:00
parent fbdc6153c4
commit 4eaa6c05e8
3 changed files with 24 additions and 13 deletions

View file

@ -9,7 +9,17 @@
qemu.ovmf.packages = [ pkgs.OVMFFull ];
};
spiceUSBRedirection.enable = true;
docker = {
enable = true;
# Use journald for logging for better integration with system logs
extraOptions = "--log-driver=journald";
# Optional: configure daemon settings as needed (e.g., registry mirrors, storage drivers)
# settings = {
# "registry-mirrors" = [ "https://mirror.gcr.io" ];
# };
};
};
services.spice-vdagentd.enable = true;
environment.systemPackages = with pkgs; [
@ -22,6 +32,7 @@
win-spice
# quickemu
spicy
docker-compose
];
environment.sessionVariables.LIBVIRT_DEFAULT_URI = [ "qemu:///system" ];