2024-01-18 01:32:15 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-01-15 22:30:41 +00:00
|
|
|
}:
|
|
|
|
{
|
2024-03-18 19:51:56 +00:00
|
|
|
config = lib.mkIf (!config.mtxyz.platform.minimal) {
|
2024-01-15 22:30:41 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
podman-compose
|
|
|
|
];
|
|
|
|
|
|
|
|
virtualisation.podman = {
|
|
|
|
enable = true;
|
|
|
|
dockerSocket.enable = true;
|
|
|
|
dockerCompat = true;
|
|
|
|
defaultNetwork.settings = {
|
|
|
|
dns_enabled = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd.services."user@".serviceConfig = {
|
|
|
|
Delegate= "cpu cpuset io memory pids";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|