panacea/modules/development.nix

23 lines
412 B
Nix

{ config, lib, pkgs, ... }:
{
# Improve nix-shell and direnv integration
environment.pathsToLink = [ "/share/nix-direnv" ];
# Enable virtualisation
virtualisation.libvirtd = {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemuPackage = pkgs.qemu_kvm;
};
# Set up podman
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
};
};
}