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

21 lines
411 B
Nix

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