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

22 lines
431 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
2023-09-28 20:46:30 +00:00
podman-compose
2022-06-28 22:20:41 +00:00
qemu
2023-04-28 22:04:00 +00:00
gvproxy
2024-02-28 09:09:37 +00:00
dive
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 */ ''
fish -c "set -e SSH_AUTH_SOCK; ${config.home.profileDirectory}/bin/podman $argv"
'';
2022-06-27 19:38:03 +00:00
}