Fix android build.

This commit is contained in:
Dmitry Voronin 2024-11-15 02:33:00 +03:00
parent 9b5a2541d9
commit 985687749d
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 3 additions and 2 deletions

View file

@ -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
];

View file

@ -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