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 = {
|
2021-01-18 10:57:04 +01:00
|
|
|
enable = false;
|
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
|
2021-02-20 12:04:49 +01:00
|
|
|
virtualisation.podman = {
|
|
|
|
enable = true;
|
|
|
|
dockerCompat = true;
|
2020-05-11 19:08:09 +02:00
|
|
|
};
|
2020-05-09 18:45:10 +02:00
|
|
|
}
|