added android to dev
This commit is contained in:
parent
d2db42180d
commit
8377a0b8b7
|
@ -5,16 +5,16 @@ in
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix # Include the results of the hardware scan.
|
||||
./core # core system components
|
||||
./system # system components such as kernel
|
||||
./nix-settings.nix # nix related config
|
||||
./users
|
||||
./.luks-swap.nix
|
||||
./fonts.nix # system wide font settings
|
||||
./extra # extra packages
|
||||
./core # core system components
|
||||
./dev # development stuff
|
||||
./games # games
|
||||
./hardware # hardware specific settings
|
||||
./system # system components such as kernel
|
||||
];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
settings = import ./../settings.nix;
|
||||
in
|
||||
{
|
||||
programs.adb.enable = true;
|
||||
|
||||
services.udev.packages = [
|
||||
pkgs.android-udev-rules
|
||||
];
|
||||
}
|
|
@ -12,5 +12,6 @@ in
|
|||
++ lib.optionals settings.dev.python3.enable [ ./python3.nix ]
|
||||
++ lib.optionals settings.virtualisation.waydroid [ ./waydroid.nix ]
|
||||
++ lib.optionals settings.virtualisation.wine.enable [ ./wine.nix ]
|
||||
++ lib.optionals settings.dev.arduino.enable [ ./arduino.nix ];
|
||||
++ lib.optionals settings.dev.arduino.enable [ ./arduino.nix ]
|
||||
++ lib.optionals settings.dev.android.enable [ ./android.nix ];
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ with import <nixpkgs> {};
|
|||
};
|
||||
};
|
||||
|
||||
fish = true;
|
||||
fish = false;
|
||||
|
||||
plasma5 = {
|
||||
enable = true;
|
||||
|
@ -42,7 +42,7 @@ with import <nixpkgs> {};
|
|||
};
|
||||
qemu = {
|
||||
enable = true;
|
||||
virt-manager = true;
|
||||
virt-manager = false;
|
||||
};
|
||||
waydroid = false;
|
||||
wine = {
|
||||
|
@ -74,6 +74,9 @@ with import <nixpkgs> {};
|
|||
enable = false; # enable arduino development platform
|
||||
ide2 = true; # wether to use IDE 2.x or deprecated 1.x
|
||||
};
|
||||
android = {
|
||||
enable = true;
|
||||
};
|
||||
lsp = {
|
||||
enable = true;
|
||||
# various language server
|
||||
|
@ -103,7 +106,7 @@ with import <nixpkgs> {};
|
|||
|
||||
networking = {
|
||||
wireguard = true; # enable wireguard protocol
|
||||
hostname = "servostar-nixos-desktop";
|
||||
hostname = "servostar-nixos-flex";
|
||||
};
|
||||
|
||||
games = {
|
||||
|
|
Loading…
Reference in New Issue