profile/android: init profiles

This commit is contained in:
Felix Buehler 2023-01-22 17:18:37 +01:00
parent b6b9a1860d
commit 301986bda3
5 changed files with 34 additions and 7 deletions

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.android;
in
{
options.my.profiles.android = with lib; {
enable = mkEnableOption "android profile";
};
config = lib.mkIf cfg.enable {
programs.adb.enable = true;
environment.systemPackages = with pkgs; [
scrcpy
];
};
}