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

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-08-20 11:10:16 -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" ];
};
}