Fix android build.
This commit is contained in:
parent
9b5a2541d9
commit
985687749d
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue