mirror of
https://codeberg.org/mtxyz/nixconf.git
synced 2024-11-09 18:12:02 +00:00
26 lines
465 B
Nix
26 lines
465 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
config = lib.mkIf (!config.mtxyz.platform.minimal) {
|
|
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";
|
|
};
|
|
};
|
|
}
|