From 985687749dfcb965ef96e38668695baed112939f Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 15 Nov 2024 02:33:00 +0300 Subject: [PATCH] Fix android build. --- flake.nix | 3 +++ home/Android.nix | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index aad149ab..d5eda313 100644 --- a/flake.nix +++ b/flake.nix @@ -141,8 +141,11 @@ pkgsUnstable = nixpkgsUnstable.legacyPackages.${system}.pkgs; system = "aarch64-linux"; in nix-on-droid.lib.nixOnDroidConfiguration { + inherit pkgs; modules = [ (import ./module/Style.nix { inherit (config.home-manager) config; inherit (self) __findFile; inherit lib pkgs; }) + { home.android.enable = true; } + { home-manager.config.stylix.autoEnable = lib.mkForce false; } ./home/Android.nix ./module/Wallpaper.nix ]; diff --git a/home/Android.nix b/home/Android.nix index 00df8935..24a6f1b4 100644 --- a/home/Android.nix +++ b/home/Android.nix @@ -23,7 +23,6 @@ in { config = lib.mkIf cfg.enable { environment.packages = package.core; - home.android.enable = true; nix.extraOptions = "experimental-features = nix-command flakes"; system.stateVersion = const.droidStateVersion; time.timeZone = const.timeZone; @@ -31,7 +30,6 @@ in { inherit (android) font colors; }; home-manager.config = stylix // { - stylix.autoEnable = lib.mkForce false; programs = with programs; core; imports = [ inputs.stylix.homeManagerModules.stylix