2022-06-27 21:38:03 +02:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
|
|
|
|
{
|
2022-06-29 00:20:41 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
podman
|
2023-09-28 22:46:30 +02:00
|
|
|
podman-compose
|
2022-06-29 00:20:41 +02:00
|
|
|
qemu
|
2023-04-29 00:04:00 +02:00
|
|
|
gvproxy
|
2022-06-29 00:20:41 +02:00
|
|
|
skopeo
|
2022-06-27 21:38:03 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
xdg.configFile."containers/containers.conf.d/nix.conf".text = ''
|
|
|
|
[engine]
|
|
|
|
helper_binaries_dir = ["${config.home.profileDirectory}/bin"]
|
|
|
|
'';
|
2023-05-04 11:14:12 +02:00
|
|
|
|
2023-10-01 22:56:08 +02:00
|
|
|
programs.fish.functions.podman = /* fish */ ''
|
2023-05-04 11:14:12 +02:00
|
|
|
fish -c "set -e SSH_AUTH_SOCK; ${config.home.profileDirectory}/bin/podman $argv"
|
|
|
|
'';
|
2022-06-27 21:38:03 +02:00
|
|
|
}
|