feat(virtualisation): switch from docker to podman
This commit is contained in:
parent
1ec2ae4762
commit
ddb0484a2a
4 changed files with 13 additions and 13 deletions
virtualisation
|
@ -1,11 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.docker = {
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
daemon.settings.ip = "127.0.0.1";
|
||||
};
|
||||
};
|
||||
}
|
11
virtualisation/podman.nix
Normal file
11
virtualisation/podman.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ podman-compose ];
|
||||
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.podman.dockerCompat = true;
|
||||
virtualisation.podman.dockerSocket.enable = true;
|
||||
virtualisation.podman.extraPackages = with pkgs; [ ];
|
||||
virtualisation.podman.defaultNetwork.dnsname.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue