21 lines
402 B
Nix
21 lines
402 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Podman für Container
|
|
virtualisation.podman = {
|
|
enable = true;
|
|
dockerCompat = true; # docker CLI compatibility
|
|
defaultNetwork.settings.dns_enabled = true;
|
|
};
|
|
|
|
# Distrobox für einfache Linux-Container
|
|
environment.systemPackages = with pkgs; [
|
|
distrobox
|
|
podman-compose
|
|
distroshelf
|
|
];
|
|
|
|
# Benutzergruppe für Podman
|
|
users.groups.podman = {};
|
|
}
|