mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
added podman
This commit is contained in:
parent
8c2b1464a2
commit
c9e546b83b
|
@ -29,6 +29,7 @@
|
|||
./hardware
|
||||
./network
|
||||
./desktop/gnome
|
||||
./programs/podman
|
||||
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
# make home-manager as a module of nixos
|
||||
|
|
14
programs/podman/default.nix
Normal file
14
programs/podman/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue