Add droid.nix

This commit is contained in:
Nathan McCarty 2022-05-16 20:24:16 -04:00
parent 6e6563755b
commit 5ed5de1655
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 14 additions and 0 deletions

13
droid.nix Normal file
View File

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
{
system.stateVersion = "21.11";
user = {
userName = "nathan";
};
environment.sessionVariables = {
XDG_RUNTIME_DIR = "/data/data/com.termux.nix/files/home/run";
GDK_DPI_SCALE = "2";
GDK_SCALE = "2";
};
}

View File

@ -272,6 +272,7 @@
# Galaxy Tab S7+ # Galaxy Tab S7+
tablet = nix-on-droid.lib.nixOnDroidConfiguration { tablet = nix-on-droid.lib.nixOnDroidConfiguration {
system = "aarch64-linux"; system = "aarch64-linux";
config = ./droid.nix;
extraModules = [ extraModules = [
./applications/devel-core.nix ./applications/devel-core.nix
./applications/utils-core.nix ./applications/utils-core.nix