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