dotfiles/modules/nixos/quirks/docker.nix
Christopher Mühl 71d2f7d5dd
Remove user-wide work-related packages
Instead, these are now installed via a work-specific devenv environment.
2025-11-19 00:45:59 +01:00

22 lines
481 B
Nix

{
config,
lib,
...
}: {
config = lib.mkIf (builtins.elem "docker" config.elements.quirks) {
virtualisation.docker = {
enable = true;
# https://github.com/hausgold/knowledge/blob/master/troubleshooting/local-env-quirks.md#haproxy--docker-ulimit-glitch
daemon.settings = {
default-ulimits = {
nofile = {
Hard = 100000;
Soft = 100000;
Name = "nofile";
};
};
};
};
};
}