Added podman
This commit is contained in:
parent
0d976ace8e
commit
f34d26332e
|
@ -92,10 +92,23 @@ in {
|
|||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.rootless = {
|
||||
# virtualisation.docker.enable = true;
|
||||
# virtualisation.docker.rootless = {
|
||||
# enable = true;
|
||||
# setSocketVariable = true;
|
||||
# };
|
||||
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
setSocketVariable = 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:
|
||||
|
@ -150,6 +163,9 @@ in {
|
|||
wl-clipboard
|
||||
home-manager
|
||||
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; })
|
||||
];
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue