oizys/modules/virtualization/docker.nix

26 lines
468 B
Nix
Raw Normal View History

2024-03-19 08:56:51 -05:00
{
pkgs,
2024-03-19 07:31:31 -05:00
config,
lib,
...
}: let
2024-03-21 10:53:27 -05:00
inherit (lib) mkOizysModule;
in
mkOizysModule config "docker" {
2024-03-19 08:56:51 -05:00
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
lazydocker
];
2024-03-21 10:53:27 -05:00
}
# in {
# options.oizys.docker.enable = mkEnableOption "enable docker support";
#
# config = mkIf cfg.enable {
# virtualisation.docker.enable = true;
# environment.systemPackages = with pkgs; [
# lazydocker
# ];
# };
# }