From 6e6563755b0b8592d2e6c385ab9cd4fd871b178b Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 16 May 2022 20:14:28 -0400 Subject: [PATCH] Add nix-on-droid target --- flake.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/flake.nix b/flake.nix index 4947f86..b19ffb7 100644 --- a/flake.nix +++ b/flake.nix @@ -267,5 +267,25 @@ homeDirectory = "/home/nathan"; stateVersion = "21.11"; }; + + nixOnDroidConfigurations = { + # Galaxy Tab S7+ + tablet = nix-on-droid.lib.nixOnDroidConfiguration { + system = "aarch64-linux"; + extraModules = [ + ./applications/devel-core.nix + ./applications/utils-core.nix + ]; + extraSpecialArgs = { + unstable = import nixpkgs-unstable { + config = { allowUnfree = true; }; + overlays = [ emacs.overlay ]; + system = "aarch64-linux"; + }; + fenix = fenix.packages.x86_64-darwin; + doomEmacs = nix-doom-emacs.hmModule; + }; + }; + }; }; }