diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 0ea868d..62a0f91 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -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. It‘s perfectly fine and recommended to leave