diff --git a/configuration.nix b/configuration.nix index 7a4d756..6a15a10 100644 --- a/configuration.nix +++ b/configuration.nix @@ -92,10 +92,23 @@ in { # Allow unfree packages nixpkgs.config.allowUnfree = true; - virtualisation.docker.enable = true; - virtualisation.docker.rootless = { - enable = true; - setSocketVariable = true; + # virtualisation.docker.enable = true; + # virtualisation.docker.rootless = { + # enable = true; + # setSocketVariable = true; + # }; + + virtualisation.containers.enable = true; + virtualisation = { + podman = { + enable = true; + + # Create a `docker` alias for podman, to use it as a drop-in replacement + dockerCompat = true; + + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.settings.dns_enabled = true; + }; }; # List packages installed in system profile. To search, run: @@ -149,7 +162,10 @@ in { bluez wl-clipboard home-manager - file + file + dive # look into docker image layers + podman-tui # status of containers in the terminal + podman-compose # start group of containers for dev (epsonscan2.override { withNonFreePlugins = true; }) ]; diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 2a64a87..81e4148 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -15,6 +15,7 @@ compinit export TERM="xterm" # Shorthands +alias ls='ls --color=yes' alias l='ls -l' alias la='ls -a' alias ll='ls -la'