panacea/modules/development.nix

25 lines
524 B
Nix
Raw Normal View History

2020-05-09 18:45:10 +02:00
{ config, lib, pkgs, ... }:
{
# Improve nix-shell and direnv integration
2021-09-29 12:09:36 +02:00
environment.pathsToLink = [ "/share/nix-direnv" ];
2020-05-11 19:08:09 +02:00
# Set up podman
2021-11-23 10:31:12 +01:00
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 ];
};
2020-05-11 19:08:09 +02:00
};
2020-05-09 18:45:10 +02:00
}