panacea/modules/development.nix

25 lines
524 B
Nix

{ config, lib, pkgs, ... }:
{
# Improve nix-shell and direnv integration
environment.pathsToLink = [ "/share/nix-direnv" ];
# Set up podman
virtualisation = {
containers.enable = true;
containers.storage.settings.storage = {
driver = "zfs";
graphroot = "/var/lib/containers/storage";
runroot = "/run/containers/storage";
};
oci-containers.backend = "podman";
podman = {
enable = true;
dockerCompat = true;
extraPackages = with pkgs; [ zfs ];
};
};
}