Commit graph

185 commits

Author SHA1 Message Date
Alexander Sosedkin
e0216d3e47 modules/android-integration: termux-reload-settings 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
438cf8c620 modules/android-integration: termux-wake-lock and termux-wake-unlock 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
b195fa0b15 modules/android-integration: termux-open, termux-open-url, xdg-open 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
733a9fe55c modules/android_integration: termux-setup-storage & unsupported 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
c4c4f09e3d modules/android-integration: add am command 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
45fcd2da39 modules, ...: get rid of config.build.arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
d72ab2a167 add x86_64 arch 2024-06-30 20:29:37 +02:00
Phani Rithvij
2d93311c4f
add a few more useful commands for easier onboarding 2024-03-14 17:37:11 +01:00
Alexander Sosedkin
53f8966627 pkgs: update proot and talloc 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
6daee58791 update nixpkgs; applyPatches to fix toolchain (nixpkgs!269077) 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
be783dd251 set stable version to 23.11 2024-03-05 23:09:33 +01:00
Zhong Jianxin
4b1a6ebcc7 home-manager: Extend lib instead of pkgs.lib
This will allow extending `lib` using:

```
_modules.args.lib = ...
```

Without this the extended lib is not available to home-manager modules.
2024-03-05 23:09:33 +01:00
Alexander Sosedkin
ec5d7f4ccc modules/terminal: restrict colornames 2024-02-17 12:02:27 +01:00
Socks Candy
f05bfc132d modules/terminal: implement termux colorschemes (colors.properties) 2024-02-17 12:02:27 +01:00
Alexander Sosedkin
82b4cd68fc nix-on-droid.nix.default: switch to nix-community/home-manager 2024-02-14 22:03:24 +01:00
Alexander Sosedkin
039379abee move from github:t184256/ to github:nix-community/ 2023-09-13 13:35:41 +02:00
Evgeny Kurnevsky
9c190d19cd build: use str instead of string
string was deprecated in nixpkgs
2023-08-12 15:52:03 +02:00
Evgeny Kurnevsky
b324ef2824 modules/environment/networking: implement /etc/hosts options 2023-07-27 16:31:21 +02:00
Alexander Sosedkin
2301e01d48 pkgs: update talloc and proot 2023-06-30 18:57:34 +02:00
Alexander Sosedkin
468bf944df update nixpkgs version 2023-06-30 18:57:34 +02:00
Alexander Sosedkin
f636824b08 set stable version to 23.05 2023-06-30 18:57:34 +02:00
jarkad
02c3b2d260 modules/environment/path: add extraOutputsToInstall option 2023-05-16 18:23:38 +02:00
Tobias Happ
588ab89b1d modules/terminal: remove mention of TTF font requirement
As mentioned in #230, probably all font types will work with this option
despite the fact that the symlink needs to be called
`~/.termux/font.ttf`.
2022-12-04 17:04:17 +01:00
Tobias Happ
3dfb9d44b5 bootstrap: update nixpkgs version 2022-12-04 17:04:17 +01:00
Tobias Happ
c70a1d9745 set stable version to 22.11 2022-12-04 17:04:17 +01:00
Tobias Happ
7e8f1ad6e2 modules/version: remove default stateVersion value
The state version is a sensible value that should explicitly set in the
users config.

Following home-manager: https://github.com/nix-community/home-manager/pull/3043.
2022-12-04 17:04:17 +01:00
Tobias Happ
5e7d6d1214 environment.path: fix installation with nix profile
Manual removal and installation as two non-atomical steps is required
because of https://github.com/NixOS/nix/issues/6349.
2022-12-04 13:09:02 +01:00
Pavel Atanasov
4e58ce7971 fix(terminal.nix): quote font paths 2022-11-26 01:30:04 +01:00
Daniel Kahlenberg
c16cb917d7 Export pkgs
See @Gerschtli's suggestion in https://github.com/t184256/nix-on-droid/discussions/226#discussioncomment-4220726
2022-11-24 15:32:35 +01:00
Tobias Happ
ae0569fb92 treewide: use consitent casing of Nix-on-Droid/nix-on-droid
Whenever Nix-on-Droid references the project or application it should be
upper-cased.

When nix-on-droid is referencing the CLI-tool or is used as some ID, it
should be lower-cased.
2022-11-20 20:15:31 +01:00
Tobias Happ
b76fb0954e treewide: improve option descriptions 2022-11-20 20:15:31 +01:00
Tobias Happ
8687e3d6da user: add defaultText for uid and gid 2022-11-20 20:15:31 +01:00
Tobias Happ
4ca0fc01e4 home-manager: exclude home-manager options docs 2022-11-20 20:15:31 +01:00
Tobias Happ
5ebbbe418a treewide: replace literalExample with literalExpression 2022-11-20 20:15:31 +01:00
Tobias Happ
6a345626c0 add support for default configuration in flake.nix 2022-11-08 20:29:52 +01:00
Tobias Happ
ffac515cfb environment.motd: add option 2022-11-08 20:29:52 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Tobias Happ
d68467d679 split _module.args and specialArgs
specialArgs are evaluated earlier and can therefore used in imports in
the module system. This is the difference in comparison to _module.args.
2022-11-08 20:29:52 +01:00
Tobias Happ
4ab4767d50 treewide: format code 2022-11-06 20:26:32 +01:00
Alexander Sosedkin
4050f7f992 login-inner: fix default choice on bootstrap flakes prompt 2022-10-29 12:47:15 +02:00
Tobias Happ
1dc1cd67a4 bootstrap: override flake inputs if needed 2022-10-28 17:52:27 +02:00
Tobias Happ
3629a12231 merge multiple extra-experimental-features args 2022-10-28 17:52:27 +02:00
Tobias Happ
c0b87d967f bootstrap: add prompt to bootstrap with flakes setup 2022-10-28 17:52:27 +02:00
Tobias Happ
5900404627 bootstrap: inject nixOnDroidFlakeURL 2022-10-28 17:52:27 +02:00
Tobias Happ
c4365ef010 environment.path: add support for nix profile 2022-10-28 17:52:27 +02:00
Tobias Happ
d21dce1a41 docs: update examples and default config
Show recommended setups instead of more error-prone examples.
2022-10-28 17:52:27 +02:00
Tobias Happ
b10dd78e18 bootstrap: refactor special args to reduce inputs 2022-10-28 17:52:27 +02:00
Tobias Happ
2ef9a7faa2 home-manager: fix directory not found error
Prepend of /. produces directory not found error when building on a non
nix-on-droid environment. The etc module works also with just a string.
2022-10-11 21:37:01 +02:00
Tobias Happ
a5ed8b213f treewide: apply statix fixes 2022-10-04 00:43:13 +02:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00