[packages] add podman

This commit is contained in:
Simon Cornet 2024-03-28 16:26:01 +01:00
parent d624368e38
commit 1c396fef1c
4 changed files with 25 additions and 8 deletions

View File

@ -12,7 +12,7 @@
./security.nix ./security.nix
./simon.nix ./simon.nix
./sound.nix ./sound.nix
./virt-manager.nix ./virtualisation.nix
]; ];
# system state version # system state version

View File

@ -51,8 +51,11 @@
bat bat
unstable.clipse unstable.clipse
cmatrix cmatrix
distrobox
git git
screen screen
podman
podman-compose
vim vim
wget wget

View File

@ -1,7 +0,0 @@
{ config, pkgs, ... }: {
# setup virt-manager
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}

View File

@ -0,0 +1,21 @@
{ config, pkgs, ... }: {
# setup virt-manager
programs.virt-manager.enable = true;
# virtualistation
virtualisation = {
# libvirtd
libvirtd = {
enable = true;
};
# podman
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
}