2024-05-23 19:02:20 +00:00
|
|
|
{ desktop, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = lib.optional (builtins.isString desktop) ./desktop.nix;
|
2023-10-16 18:46:06 +00:00
|
|
|
|
2024-05-23 19:02:20 +00:00
|
|
|
#https://nixos.wiki/wiki/Docker
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
docker-compose
|
2024-08-15 05:29:41 +00:00
|
|
|
docker-buildx
|
2024-05-23 19:02:20 +00:00
|
|
|
];
|
2023-10-16 18:46:06 +00:00
|
|
|
|
2024-05-23 19:02:20 +00:00
|
|
|
virtualisation = {
|
|
|
|
docker.enable = true;
|
|
|
|
docker.storageDriver = lib.mkDefault "overlay2";
|
|
|
|
# docker.rootless = { TODO
|
2023-10-18 13:29:40 +00:00
|
|
|
# enable = true;
|
|
|
|
# setSocketVariable = true;
|
|
|
|
# };
|
2023-10-16 18:46:06 +00:00
|
|
|
};
|
|
|
|
}
|