mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
18 lines
407 B
Nix
18 lines
407 B
Nix
{ desktop, lib, pkgs, ... }:
|
|
{
|
|
imports = lib.optional (builtins.isString desktop) ./desktop.nix;
|
|
|
|
#https://nixos.wiki/wiki/Docker
|
|
environment.systemPackages = with pkgs; [
|
|
docker-compose
|
|
];
|
|
|
|
virtualisation = {
|
|
docker.enable = true;
|
|
docker.storageDriver = lib.mkDefault "overlay2";
|
|
# docker.rootless = { TODO
|
|
# enable = true;
|
|
# setSocketVariable = true;
|
|
# };
|
|
};
|
|
}
|