Commit graph

33 commits

Author SHA1 Message Date
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
54a535b91b flake.nix: make users pass pkgs explicitly 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
d72ab2a167 add x86_64 arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
463e0f82a6 tests/on-device: test vim, not vi (android can have vi) 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
5c87fc7357 nix-on-droid, tests: use /data/local/tmp/n-o-d 2024-06-30 20:29:37 +02: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
Alexander Sosedkin
78349e4a81 nix-on-droid: allow passing args to on-device-test 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
b237029736 tests/on-device/config-term-colors: add 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
Evgeny Kurnevsky
b324ef2824 modules/environment/networking: implement /etc/hosts options 2023-07-27 16:31:21 +02:00
Alexander Sosedkin
f636824b08 set stable version to 23.05 2023-06-30 18:57:34 +02:00
Tobias Happ
c70a1d9745 set stable version to 22.11 2022-12-04 17:04:17 +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
6a345626c0 add support for default configuration in flake.nix 2022-11-08 20:29:52 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Alexander Sosedkin
587825a1e4 tests: extend guessing $FLAKE_URL to non-github cases 2022-11-06 21:43:51 +01:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00
Alexander Sosedkin
d1f52f2e1d Update 21.11 references to 22.05 2022-07-01 00:50:28 +02:00
Tobias Happ
52efd98b5e tests: add cleanup logic for changed nix-channels 2021-12-15 22:04:43 +01:00
Tobias Happ
d8f098c8e5 tests: only expose env variables in setup that are used 2021-12-15 22:04:43 +01:00
Tobias Happ
619e53ac72 tests: simplify clean up logic for ~/.config/nixpkgs 2021-12-15 22:04:43 +01:00
Tobias Happ
0c2f293502 tests: only backup ~/.config/nixpkgs
Other files/directories are not modified by the general test setup.
2021-12-15 22:04:43 +01:00
Tobias Happ
e687e46e2f tests: update flake tests to use new --flake argument 2021-12-15 22:04:43 +01:00
Tobias Happ
248632699e tests: increase readability through small helper functions 2021-12-15 22:04:43 +01:00
Tobias Happ
7f983228fe tests: add assertions only relevant for the specific test case 2021-12-15 22:04:43 +01:00
Tobias Happ
726f74d9ec tests: restore the initial generation before each test
When developing it can happen to break the nix-on-droid script. If so,
this fix will ensure that each test has a working nix-on-droid script
available.
2021-12-15 22:04:43 +01:00
Tobias Happ
9477418fe6 tests: use bats pretty formatter 2021-12-15 22:04:43 +01:00
Alexander Sosedkin
a6b8efbae3 tests/fakedroid: emulate a nix-on-droid-like env for testing 2021-12-13 21:01:34 +01:00
Alexander Sosedkin
343ec2ccc2 tests/on-device: add 2021-12-12 11:56:48 +01:00