Alexander Sosedkin
a4a0e43999
DO NOT MERGE: test change
2024-09-10 22:36:00 +02:00
Shelvacu
9dd9078a1f
Grab proot from bootstrap zip rather than including its nix path directly.
...
This means that the cachix substituter (or already having the package in your nix store somehow) is no longer required to build.
This required reworking the deploy script. As a bonus you can now omit the second argument and it will tell you what it would have copied instead of copying anything.
This is fixes one source of impurity, but for now flake builds will still require the --impure flag
2024-09-10 22:33:39 +02:00
hkalbasi
21629b43fd
Check if the selected shell is a directory
2024-09-06 23:36:25 +02:00
Zhong Jianxin
8bcadcef69
login: Do not dereference proot binds /bin and /etc
...
`/bin` and `/etc` are symlinks to `/system/bin` and `/system/etc`, by
default proot will dereference and override them with new contents.
After this change, `/system/bin` and `/system/etc` are kept untouched,
so commands like `/system/bin/ping` can be run directly.
2024-07-10 13:55:08 +02:00
Alexander Sosedkin
bab7c453f4
login-inner: get rid of gnused in flake bootstrap
2024-07-08 01:14:32 +02:00
Alexander Sosedkin
35076ea33f
pkgs/proot-termux: update
2024-07-08 01:14:32 +02:00
Sergey Volkov
4d20bfc846
update inputs and copyrights to 24.05
...
Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
2024-07-08 01:14:32 +02:00
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
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
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
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
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
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
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
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
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
7d1ed0fbaa
treewide: apply nixpkgs-fmt
2022-10-04 00:43:13 +02:00
Tobias Happ
c170d27234
environment.nix: fix NIX_PATH environment variable
2022-10-04 00:35:37 +02:00
Zhaofeng Li
49e10dbb52
login: Add fake /proc/uptime workaround for ps
...
Fixes #77 .
2022-09-24 00:32:10 +02:00
Zhaofeng Li
dd0d1194a8
Remove dependency on coreutils from bootstrap
...
The Nix distribution tarball no longer includes coreutils.
2022-09-13 08:53:06 +02:00
Alexander Sosedkin
0ad6321f79
pkgs: use non-prebuilt SDK
2022-07-09 12:25:31 +02:00
Alexander Sosedkin
0de95f9e9f
pkgs/cross-compiling/talloc-static: update, build differently
2022-07-03 18:54:21 +02:00
Alexander Sosedkin
d1f52f2e1d
Update 21.11 references to 22.05
2022-07-01 00:50:28 +02:00
Alexander Sosedkin
b4b889845c
pkgs/proot-termux: update
2022-07-01 00:50:28 +02:00
Alexander Sosedkin
0dbf0f5618
Update pinned nixpkgs version to 22.05
2022-07-01 00:50:28 +02:00