Android : Move the module to the root level.

This commit is contained in:
Dmitry Voronin 2024-06-24 01:37:19 +03:00
parent b7bc7b9d2c
commit a2672996a9
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
8 changed files with 23 additions and 7 deletions

View file

@ -1,4 +1,12 @@
{ pkgs, inputs, const, style, util, key, setting, secret, ... } @args: let
{ pkgs
, inputs
, const
, style
, util
, key
, setting
, secret
, ... } @args: let
# Path where Termux stores user data.
homePath = "/data/data/com.termux.nix/files/home";
@ -10,11 +18,11 @@
termux = import ./Termux.nix args;
# External modules.
bash = import ../common/bash args;
nvim = import ../common/nvim args;
ssh = import ../common/ssh args;
tmux = import ../common/tmux args;
yazi = import ../../user/common/yazi args;
bash = import ../module/common/bash args;
nvim = import ../module/common/nvim args;
ssh = import ../module/common/ssh args;
tmux = import ../module/common/tmux args;
yazi = import ../user/common/yazi args;
in {
time.timeZone = const.timeZone;
nix.extraOptions = nix.extraOptions;

View file

@ -346,7 +346,7 @@
{ system.stateVersion = inputs.self.const.droidStateVersion; }
# I put all my Android configuration there.
./module/android
./android
];
# SpecialArgs allows you to pass objects down to other configuration.

View file

@ -11,4 +11,12 @@
device = "/dev/disk/by-partlabel/NIXBOOT";
fsType = "vfat";
};
# /etc overlay.
# boot.initrd.systemd.enable = true;
# systemd.sysusers.enable = true;
# system.etc.overlay = {
# enable = true;
# mutable = false;
# };
}