From 5ed5de16554aae92d1eab9791cc72b2a1520a417 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 16 May 2022 20:24:16 -0400 Subject: [PATCH] Add droid.nix --- droid.nix | 13 +++++++++++++ flake.nix | 1 + 2 files changed, 14 insertions(+) create mode 100644 droid.nix diff --git a/droid.nix b/droid.nix new file mode 100644 index 0000000..ce59cff --- /dev/null +++ b/droid.nix @@ -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"; + }; +} diff --git a/flake.nix b/flake.nix index b19ffb7..6a66952 100644 --- a/flake.nix +++ b/flake.nix @@ -272,6 +272,7 @@ # Galaxy Tab S7+ tablet = nix-on-droid.lib.nixOnDroidConfiguration { system = "aarch64-linux"; + config = ./droid.nix; extraModules = [ ./applications/devel-core.nix ./applications/utils-core.nix