diff --git a/configuration.nix b/configuration.nix index 6312c75..38cc3d0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -77,7 +77,7 @@ users.users.rafiq = { isNormalUser = true; description = "Mohammad Rafiq"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "podman" ]; }; ############################## @@ -131,6 +131,16 @@ # portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; + virtualisation = { + # Enable common container config files in /etc/containers + containers.enable = true; + podman = { + enable = true; + dockerCompat = true; + defaultNetwork.settings.dns_enabled = true; # for compose containers to see each other + }; + }; + # 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