23 lines
392 B
Nix
23 lines
392 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# Improve nix-shell and direnv integration
|
|
services.lorri.enable = true;
|
|
|
|
# Enable virtualisation
|
|
virtualisation.libvirtd = {
|
|
enable = false;
|
|
onBoot = "ignore";
|
|
onShutdown = "shutdown";
|
|
qemuPackage = pkgs.qemu_kvm;
|
|
};
|
|
|
|
# Set up podman
|
|
virtualisation = {
|
|
podman = {
|
|
enable = true;
|
|
dockerCompat = true;
|
|
};
|
|
};
|
|
}
|