dotfiles/modules/os/misc/docker.nix
eriedaberrie 9083c619a6 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-08-30 23:02:03 -07:00

15 lines
247 B
Nix

{ config, lib, ... }:
let
cfg = config.my.docker;
in {
options.my.docker = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
virtualisation.docker.enable = true;
my.user.extraGroups = [ "docker" ];
};
}