feat(virtualisation): switch from docker to podman

This commit is contained in:
Felix Schröter 2022-08-08 23:41:47 +02:00
parent 1ec2ae4762
commit ddb0484a2a
Signed by: felschr
GPG key ID: 671E39E6744C807D
4 changed files with 13 additions and 13 deletions

View file

@ -11,7 +11,7 @@
./system/gaming.nix
./desktop
./virtualisation/libvirt.nix
./virtualisation/docker.nix
./virtualisation/podman.nix
./modules/emailNotify.nix
./services/mail.nix
./services/samba/home-pc.nix

View file

@ -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
View 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;
}

View file

@ -7,7 +7,7 @@
./hardware/bluetooth.nix
./system/desktop.nix
./desktop
./virtualisation/docker.nix
./virtualisation/podman.nix
];
# replace with regenerated hardware-configuration.nix