2020-05-09 18:45:10 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Improve nix-shell and direnv integration
|
|
|
|
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-05-23 15:43:54 +02: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
|
|
|
|
virtualisation = {
|
|
|
|
containers.users = [ "coolneng" ];
|
|
|
|
podman = {
|
|
|
|
enable = true;
|
|
|
|
dockerCompat = true;
|
|
|
|
};
|
|
|
|
};
|
2020-05-09 18:45:10 +02:00
|
|
|
}
|