dotfiles/modules/programs/adb.nix

17 lines
255 B
Nix

{ config
, lib
, ...
}:
with lib;
let
cfg = config.my.programs.adb;
in
{
options.my.programs.adb.enable = mkEnableOption "adb";
config = mkIf cfg.enable {
programs.adb.enable = true;
users.users.moritz.extraGroups = [ "adbusers" ];
};
}