dotfiles/home/programs/podman.nix

20 lines
392 B
Nix
Raw Normal View History

2022-06-27 19:38:03 +00:00
{ pkgs, config, ... }:
{
2022-06-28 22:20:41 +00:00
home.packages = with pkgs; [
podman
qemu
2023-04-28 22:04:00 +00:00
gvproxy
2022-06-28 22:20:41 +00:00
skopeo
2022-06-27 19:38:03 +00:00
];
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"
'';
2022-06-27 19:38:03 +00:00
}