dotfiles/modules/programs/adb.nix

19 lines
262 B
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ config
, lib
, pkgs
, ...
}:
with lib;
let
cfg = config.my.programs.adb;
in
{
2022-10-15 20:00:09 +02:00
options.my.programs.adb.enable = mkEnableOption "adb";
2022-07-15 13:11:54 +02:00
config = mkIf cfg.enable {
programs.adb.enable = true;
users.users.moritz.extraGroups = [ "adbusers" ];
};
}