Added podman

This commit is contained in:
vanten-s 2024-05-08 13:12:51 +02:00
parent 0d976ace8e
commit f34d26332e
Signed by: vanten-s
GPG key ID: DE3060396884D3F2
2 changed files with 22 additions and 5 deletions

View file

@ -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; })
];

View file

@ -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'