Reformatted with nixfmt
This commit is contained in:
parent
f51256c3ae
commit
3f16537322
80 changed files with 1454 additions and 992 deletions
|
@ -4,18 +4,20 @@
|
|||
lib,
|
||||
namespace,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.${namespace}.programs.android-studio;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.${namespace}.programs.android-studio = {
|
||||
enable = lib.mkEnableOption "Android Studio";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
${namespace}.user.extraGroups = ["kvm"];
|
||||
${namespace}.user.extraGroups = [ "kvm" ];
|
||||
|
||||
programs.adb.enable = true;
|
||||
|
||||
environment.systemPackages = [pkgs.android-studio];
|
||||
environment.systemPackages = [ pkgs.android-studio ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue