Commit graph

421 commits

Author SHA1 Message Date
Tobias Happ
3d3441de44 nix-on-droid: add native support for flakes 2021-12-15 22:04:43 +01:00
Tobias Happ
c0568ad13a nix-on-droid: fix shellcheck issues 2021-12-15 22:04:43 +01:00
Tobias Happ
75d0c7c565 pkgs: use new args of ./modules 2021-12-15 22:04:43 +01:00
Tobias Happ
403336d4c4 modules: introduce more arguments at top-level 2021-12-15 22:04:43 +01:00
Alexander Sosedkin
7bae16e16d README: assorted fixes 2021-12-15 11:32:37 +01:00
Tobias Happ
b5ffc6d7df home-manager: add extraSpecialArgs and sharedModules options 2021-12-14 22:31:03 +01:00
Tobias Happ
38241f6363 activation: add VERBOSE env var in option description 2021-12-14 22:30:33 +01:00
Tobias Happ
b446b6572e ci: do not attempt to push to cachix on PR builds
Secrets are not available when triggered by a PR. Therefore,
CACHIX_SIGNING_KEY is not defined and cachix will always fail.
2021-12-14 22:30:21 +01:00
Alexander Sosedkin
856d931972 deduplicate proot for device and proot for fakedroid 2021-12-13 21:01:34 +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
Alexander Sosedkin
b775b46a7c modules/environment/login/login-inner: correct greeting 2021-12-12 11:56:48 +01:00
Zhaofeng Li
74ff681bc9 Rename home-manager argument to home-manager-path 2021-12-12 02:16:59 +01:00
Zhaofeng Li
0b83ab6bf1 flake.nix: Clean up, allow overriding pkgs
`outputs.overlays` is supposed to be an attribute set of overlays,
and `outputs.overlay` should contain a single overlay.
2021-12-12 02:16:59 +01:00
Zhaofeng Li
b1086df532 modules: Accept a path-like for home-manager
We don't actually use the initialized attrset for anything
other than its path.
2021-12-12 02:16:59 +01:00
Tobias Happ
8972fbf3da nixpkgs: always provide the option definitions
This allows evaluation of configurations where nixpkgs.* options are
used even when in a flake setup with unchanged default values.
2021-12-11 22:44:53 +01:00
Tobias Happ
7b9ba13632 session-init: add support for nix 2.4
See https://github.com/NixOS/nixpkgs/issues/149791.
2021-12-11 22:44:53 +01:00
Tobias Happ
43fafe1736 home-manager: remove support for 19.09 releases 2021-12-11 22:44:53 +01:00
Tobias Happ
1ad8c7ac48 Fix static cross compiling of proot 2021-12-11 22:44:53 +01:00
Alexander Sosedkin
983fe12a88 pkgs/cross-compiling/proot-termux: update 2021-12-11 22:44:53 +01:00
Tobias Happ
f4036a5335 Update pinned nixpkgs version 2021-12-11 22:44:53 +01:00
Tobias Happ
05542e9fa8 Release 21.11 2021-12-11 22:44:53 +01:00
Tobias Happ
be67cc42b4 Remove workaround in default nix-on-droid config
Workaround is with home-manager 21.11 no longer needed.
2021-12-11 22:44:53 +01:00
Tobias Happ
ef55157fb7 Update stateVersions and channel versions to 21.11 2021-12-11 22:44:53 +01:00
Tobias Happ
b30833b210 Remove deprecated workaround for make 2021-12-11 22:44:53 +01:00
Alexander Sosedkin
1629d13fd7 pkgs/nix-directory: stop using qemu-user to init nix db 2021-12-08 23:17:33 +01:00
Shamrock Lee
6b9e3fbbec activation.nix: fix for "activation from build result" (revised)
Solve #111
2021-11-28 23:29:06 +01:00
lucasew
d0b83e6397 expose options
Signed-off-by: lucasew <lucas59356@gmail.com>
2021-11-19 22:17:23 +01:00
Shamrock Lee
5c838f508b nix-on-droid.nix.default: fix the overlays inheritance of the home-manager config 2021-10-22 12:09:16 +02:00
Alexander Sosedkin
3b4fd630ae login.nix: fixup, remove double-binding of /dev/shm
Reported-by: Zhong Jianxin <azuwis@gmail.com>
2021-10-22 11:38:38 +02:00
Zhong Jianxin
149e5c8869 Bind /dev/shm
POSIX semaphores need /dev/shm to work. Without this, python
multiprocessing gives errors:

```
Traceback (most recent call last):
  ...
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
```

Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
Co-authored-by: Tobias Happ <tobias.happ@gmx.de>
2021-10-22 11:27:04 +02:00
Zhong Jianxin
31fd02ba4a Run shell as login shell
So shell rc files (.profile/.bashrc/.zshrc/...) will be loaded
2021-10-22 11:26:30 +02:00
Shamrock Lee
3aa377bf01 activation.nix: fix for "activation from build result"
Solve #111
2021-09-19 19:17:49 +02:00
Alexander Sosedkin
97e1e71b84 modules/build/activation: use config.nix.package 2021-07-27 22:01:03 +02:00
Tobias Happ
e4d19673af nix: add package option 2021-07-27 22:01:03 +02:00
Bruno Bigras
3e3a4e2d04 overlays/lib/nixpkgs.nix: use system
fix #123
2021-06-30 00:18:39 +02:00
Alexander Sosedkin
78d349eecc CHANGELOG: release 21.05 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
cda90321ef build.sh: fix stripping of .git 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
97c209fe4b .github/workflows: add cachix 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
ac55653ff3 .travis.yml: delete 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
957a2b95fc CHANGELOG: announce upcoming i686 deprecation 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
4c15d025b6 overlays/htop: stop using stdenv.lib 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
c4efd68279 replace references to 20.09 with 21.05 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
adb5a897ea overlays: update nixpkgs for overlays to 21.05 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
08e047bb2c modules/workaround-make: deprecate 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
6d7edfc20b pkgs: update talloc and proot 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
9fcce0d7df pkgs: update toolchain and nixpkgs for 21.05 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
97fdc4c6b2 nix: update to 2.3.13 2021-06-26 19:01:42 +02:00
Alexander Sosedkin
7d8d2e0aca pkgs/qemu-aarch64-static: update to 5.2.0-2 2021-06-26 19:01:42 +02:00
Bruno Bigras
0ca6f89077 flake.nix: fix overlays
related to https://github.com/t184256/nix-on-droid/issues/94#issuecomment-850849580
2021-06-23 23:05:26 +02:00