feat(virtualisation): switch from docker to podman
This commit is contained in:
parent
1ec2ae4762
commit
ddb0484a2a
|
@ -11,7 +11,7 @@
|
||||||
./system/gaming.nix
|
./system/gaming.nix
|
||||||
./desktop
|
./desktop
|
||||||
./virtualisation/libvirt.nix
|
./virtualisation/libvirt.nix
|
||||||
./virtualisation/docker.nix
|
./virtualisation/podman.nix
|
||||||
./modules/emailNotify.nix
|
./modules/emailNotify.nix
|
||||||
./services/mail.nix
|
./services/mail.nix
|
||||||
./services/samba/home-pc.nix
|
./services/samba/home-pc.nix
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
|
@ -7,7 +7,7 @@
|
||||||
./hardware/bluetooth.nix
|
./hardware/bluetooth.nix
|
||||||
./system/desktop.nix
|
./system/desktop.nix
|
||||||
./desktop
|
./desktop
|
||||||
./virtualisation/docker.nix
|
./virtualisation/podman.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# replace with regenerated hardware-configuration.nix
|
# replace with regenerated hardware-configuration.nix
|
||||||
|
|
Loading…
Reference in a new issue