Fix android build.
This commit is contained in:
parent
9b5a2541d9
commit
985687749d
|
@ -141,8 +141,11 @@
|
||||||
pkgsUnstable = nixpkgsUnstable.legacyPackages.${system}.pkgs;
|
pkgsUnstable = nixpkgsUnstable.legacyPackages.${system}.pkgs;
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
in nix-on-droid.lib.nixOnDroidConfiguration {
|
in nix-on-droid.lib.nixOnDroidConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
(import ./module/Style.nix { inherit (config.home-manager) config; inherit (self) __findFile; inherit lib pkgs; })
|
(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
|
./home/Android.nix
|
||||||
./module/Wallpaper.nix
|
./module/Wallpaper.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -23,7 +23,6 @@ in {
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.packages = package.core;
|
environment.packages = package.core;
|
||||||
home.android.enable = true;
|
|
||||||
nix.extraOptions = "experimental-features = nix-command flakes";
|
nix.extraOptions = "experimental-features = nix-command flakes";
|
||||||
system.stateVersion = const.droidStateVersion;
|
system.stateVersion = const.droidStateVersion;
|
||||||
time.timeZone = const.timeZone;
|
time.timeZone = const.timeZone;
|
||||||
|
@ -31,7 +30,6 @@ in {
|
||||||
inherit (android) font colors;
|
inherit (android) font colors;
|
||||||
};
|
};
|
||||||
home-manager.config = stylix // {
|
home-manager.config = stylix // {
|
||||||
stylix.autoEnable = lib.mkForce false;
|
|
||||||
programs = with programs; core;
|
programs = with programs; core;
|
||||||
imports = [
|
imports = [
|
||||||
inputs.stylix.homeManagerModules.stylix
|
inputs.stylix.homeManagerModules.stylix
|
||||||
|
|
Loading…
Reference in a new issue