2020-05-09 18:45:10 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Improve nix-shell and direnv integration
|
2020-10-06 16:02:21 +02:00
|
|
|
services.lorri.enable = true;
|
2020-05-11 06:40:41 +02:00
|
|
|
|
2020-05-11 19:08:09 +02:00
|
|
|
# Enable virtualisation
|
2020-05-15 03:43:23 +02:00
|
|
|
virtualisation.libvirtd = {
|
2020-06-01 19:39:12 +02:00
|
|
|
enable = true;
|
2020-05-15 03:43:23 +02:00
|
|
|
onBoot = "ignore";
|
|
|
|
onShutdown = "shutdown";
|
|
|
|
qemuPackage = pkgs.qemu_kvm;
|
|
|
|
};
|
2020-05-11 19:08:09 +02:00
|
|
|
|
|
|
|
# Set up podman
|
|
|
|
virtualisation = {
|
|
|
|
podman = {
|
|
|
|
enable = true;
|
|
|
|
dockerCompat = true;
|
|
|
|
};
|
|
|
|
};
|
2020-05-09 18:45:10 +02:00
|
|
|
}
|