Android : Move the module to the root level.
This commit is contained in:
parent
b7bc7b9d2c
commit
a2672996a9
|
@ -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.
|
# Path where Termux stores user data.
|
||||||
homePath = "/data/data/com.termux.nix/files/home";
|
homePath = "/data/data/com.termux.nix/files/home";
|
||||||
|
|
||||||
|
@ -10,11 +18,11 @@
|
||||||
termux = import ./Termux.nix args;
|
termux = import ./Termux.nix args;
|
||||||
|
|
||||||
# External modules.
|
# External modules.
|
||||||
bash = import ../common/bash args;
|
bash = import ../module/common/bash args;
|
||||||
nvim = import ../common/nvim args;
|
nvim = import ../module/common/nvim args;
|
||||||
ssh = import ../common/ssh args;
|
ssh = import ../module/common/ssh args;
|
||||||
tmux = import ../common/tmux args;
|
tmux = import ../module/common/tmux args;
|
||||||
yazi = import ../../user/common/yazi args;
|
yazi = import ../user/common/yazi args;
|
||||||
in {
|
in {
|
||||||
time.timeZone = const.timeZone;
|
time.timeZone = const.timeZone;
|
||||||
nix.extraOptions = nix.extraOptions;
|
nix.extraOptions = nix.extraOptions;
|
|
@ -346,7 +346,7 @@
|
||||||
{ system.stateVersion = inputs.self.const.droidStateVersion; }
|
{ system.stateVersion = inputs.self.const.droidStateVersion; }
|
||||||
|
|
||||||
# I put all my Android configuration there.
|
# I put all my Android configuration there.
|
||||||
./module/android
|
./android
|
||||||
];
|
];
|
||||||
|
|
||||||
# SpecialArgs allows you to pass objects down to other configuration.
|
# SpecialArgs allows you to pass objects down to other configuration.
|
||||||
|
|
|
@ -11,4 +11,12 @@
|
||||||
device = "/dev/disk/by-partlabel/NIXBOOT";
|
device = "/dev/disk/by-partlabel/NIXBOOT";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# /etc overlay.
|
||||||
|
# boot.initrd.systemd.enable = true;
|
||||||
|
# systemd.sysusers.enable = true;
|
||||||
|
# system.etc.overlay = {
|
||||||
|
# enable = true;
|
||||||
|
# mutable = false;
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue