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