podman: Add netavark

This commit is contained in:
Erwin Boskma 2023-07-10 13:42:56 +02:00
parent 2478135dc5
commit 0a6076cb20
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -15,7 +15,7 @@ in
config = mkIf cfg.enable {
# environment.systemPackages = with pkgs; [ docker-compose ];
environment.systemPackages = [ pkgs.podman-compose ];
environment.systemPackages = [ pkgs.podman-compose pkgs.netavark ];
virtualisation.podman = {
enable = true;
@ -46,6 +46,11 @@ in
"containers.internal.horus.nu"
];
};
containersConf.settings = {
engine = {
helper_binaries_dir = [ "${pkgs.netavark}/bin" ];
};
};
};
users.extraUsers.${config.eboskma.var.mainUser}.extraGroups = [ "docker" "podman" ];