mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profile/android: init profiles
This commit is contained in:
parent
b6b9a1860d
commit
301986bda3
5 changed files with 34 additions and 7 deletions
16
profiles/android/default.nix
Normal file
16
profiles/android/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue