feat(virt): enable docker (podman)

This commit is contained in:
Khaïs COLIN 2024-08-10 13:57:11 +02:00
parent 1bd060f10b
commit 3a6d7bd4e5

View file

@ -92,7 +92,7 @@
users.users.khais = {
isNormalUser = true;
description = "Khaïs COLIN";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "networkmanager" "wheel" "podman" ];
shell = pkgs.zsh;
};
@ -233,6 +233,14 @@
dev.enable = true; # linux man-pages project, dev documenation
};
# enable docker virtualization
virtualisation.podman = {
enable = true;
# create alias mapping docker to podman
dockerCompat = true;
dockerSocket.enable = true;
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave