1
0
Fork 0
dotfiles/home/programs/podman.nix

23 lines
441 B
Nix

{ pkgs, config, ... }:
{
home.packages = with pkgs; [
podman
podman-compose
qemu
gvproxy
vfkit
dive
skopeo
];
xdg.configFile."containers/containers.conf.d/nix.conf".text = ''
[engine]
helper_binaries_dir = ["${config.home.profileDirectory}/bin"]
'';
programs.fish.functions.podman = /* fish */ ''
fish -c "set -e SSH_AUTH_SOCK; ${config.home.profileDirectory}/bin/podman $argv"
'';
}