1
0
Fork 0
dotfiles/system/nixos/arion.nix

29 lines
466 B
Nix
Raw Normal View History

2023-03-13 00:13:25 +00:00
{ pkgs, config, secret, ... }:
2022-07-30 17:49:04 +00:00
{
environment.systemPackages = [
pkgs.arion
];
2022-08-04 22:40:11 +00:00
virtualisation = {
2023-03-16 19:16:06 +00:00
docker.enable = false;
podman = {
2022-08-04 22:40:11 +00:00
enable = true;
2023-03-16 19:16:06 +00:00
dockerSocket.enable = true;
2023-03-16 19:34:49 +00:00
defaultNetwork.settings.dns_enabled = true;
2022-08-04 22:40:11 +00:00
};
2023-03-16 19:54:44 +00:00
containers.containersConf.cniPlugins = with pkgs; [
cni-plugins
dnsname-cni
];
2023-03-16 19:46:27 +00:00
oci-containers.backend = "podman";
2022-07-30 18:27:33 +00:00
2022-08-04 22:40:11 +00:00
arion = {
2023-03-16 19:17:52 +00:00
backend = "podman-socket";
2022-08-04 22:40:11 +00:00
};
2022-07-30 18:27:33 +00:00
};
2022-07-30 17:49:04 +00:00
}