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
|
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"]
|
|
|
|
'';
|
2023-05-04 09:14:12 +00:00
|
|
|
|
2023-10-01 20:56:08 +00:00
|
|
|
programs.fish.functions.podman = /* fish */ ''
|
2023-05-04 09:14:12 +00:00
|
|
|
fish -c "set -e SSH_AUTH_SOCK; ${config.home.profileDirectory}/bin/podman $argv"
|
|
|
|
'';
|
2022-06-27 19:38:03 +00:00
|
|
|
}
|