Added podman
This commit is contained in:
parent
0d976ace8e
commit
f34d26332e
|
@ -92,10 +92,23 @@ in {
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
# virtualisation.docker.enable = true;
|
||||||
virtualisation.docker.rootless = {
|
# virtualisation.docker.rootless = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
setSocketVariable = 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:
|
# List packages installed in system profile. To search, run:
|
||||||
|
@ -150,6 +163,9 @@ in {
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
home-manager
|
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; })
|
(epsonscan2.override { withNonFreePlugins = true; })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@ compinit
|
||||||
export TERM="xterm"
|
export TERM="xterm"
|
||||||
|
|
||||||
# Shorthands
|
# Shorthands
|
||||||
|
alias ls='ls --color=yes'
|
||||||
alias l='ls -l'
|
alias l='ls -l'
|
||||||
alias la='ls -a'
|
alias la='ls -a'
|
||||||
alias ll='ls -la'
|
alias ll='ls -la'
|
||||||
|
|
Loading…
Reference in a new issue