Commit graph

69 commits

Author SHA1 Message Date
Alexander Sosedkin
239381d4f1 pkgs: update proot and talloc 2020-11-27 21:04:17 +01:00
Alexander Sosedkin
af8d9623e0 nixpkgs: update pinned nixpkgs to 20.09 2020-11-27 21:04:17 +01:00
Tobias Happ
d8a1d446f9 release: update all references to 20.03 with 20.09 2020-11-27 21:04:17 +01:00
Tobias Happ
e6c7adaca0 home-manager: enable useUserPackages for version >= 20.09 2020-11-27 21:04:17 +01:00
Tobias Happ
468b036d1d version: add 20.09 as possible stateVersion 2020-11-27 21:04:17 +01:00
Alexander Sosedkin
498091c3dc Also update i686 proot hash 2020-07-11 12:16:28 +02:00
Alexander Sosedkin
9b4fb44da8 Patch proot (see discussion in #12) 2020-07-07 13:42:44 +02:00
Tobias Happ
6012e0a8e6 Update pinned nixpkgs version 2020-06-12 09:33:59 +02:00
Alexander Sosedkin
b4818078f3 use bashInteractive right after the installation 2020-05-02 15:54:45 +02:00
Alexander Sosedkin
cb0905a4a0 Set HOME early 2020-04-27 08:51:47 +02:00
Tobias Happ
886fbb050e Default to release-20.03 of nix-on-droid 2020-04-26 14:13:08 +02:00
Tobias Happ
e260c20a2e Add assertion for needed upgrade to nixpkgs 20.03 2020-04-26 14:01:09 +02:00
Tobias Happ
b4c185c146 Add assertion for needed upgrade to home-manager 20.03 2020-04-25 18:29:16 +02:00
Tobias Happ
55d33896fd Replace 19.09 channels with 20.03 ones 2020-04-25 18:26:29 +02:00
Tobias Happ
6e85b5cd08 Add 20.03 stateVersion 2020-04-25 18:26:29 +02:00
Tobias Happ
c54509d26a Add useGlobalPkgs option 2020-04-25 18:26:29 +02:00
Tobias Happ
0e53bd6b1f Set extendedLib for home-manager 2020-04-25 18:26:29 +02:00
Alexander Sosedkin
df39b79d20 Warn on fallback on misconfigured login shell 2020-04-25 17:10:41 +02:00
Tobias Happ
ddfcddfebb Add support for different login shells 2020-04-25 17:10:41 +02:00
Tobias Happ
4017e1f700 Add source nix.sh and hm-session-vars.sh in session-init.sh 2020-04-23 18:54:56 +02:00
Tobias Happ
93d081c3bc Add htop overlay 2020-01-14 17:45:11 +01:00
Alexander Sosedkin
8ccf18b8ec Rename the repository, dropping -bootstrap 2020-01-13 00:46:53 +01:00
Tobias Happ
9323f2f573 time: Add timeZone option 2020-01-12 20:48:41 +01:00
Tobias Happ
7e6946c627 Add nixpkgs.config and overlays option 2020-01-12 20:33:03 +01:00
Alexander Sosedkin
bbb0e8ffbf Tweak user-facing messages 2020-01-09 22:50:40 +01:00
Tobias Happ
eb2f3bca34 login-inner: source session-init on initial build 2020-01-09 22:32:13 +01:00
Alexander Sosedkin
ad7345897f Relicense to MIT License
Fixes: https://github.com/t184256/nix-on-droid-bootstrap/issues/44
2020-01-09 22:04:22 +01:00
Tobias Happ
c9e9ae3040 home-manager: Add backupFileExtension option 2020-01-08 03:08:58 +01:00
Tobias Happ
daf69b959d Add --file argument for nix-on-droid 2020-01-08 01:29:18 +01:00
Alexander Sosedkin
38e7b238ae Fix installation (missing session-init) 2020-01-07 07:10:05 +01:00
Tobias Happ
d848df3a33 Increase priority value to avoid conflict
When enabling useUserPackages, there is a conflict of duplicate package
installations.
2020-01-07 05:37:24 +01:00
Tobias Happ
a1c91e7753 Add LOCALE_ARCHIVE env variable 2020-01-07 05:14:30 +01:00
Tobias Happ
1e2f21748a Add environment variable management 2020-01-07 05:14:30 +01:00
Alexander Sosedkin
6cac2c4cb9 Suggest stable home-manager instead of master
home-manager was usually super-reliable even on its master branch.
Now it finally broke stable compatibility in master.
2020-01-04 00:54:01 +01:00
Tobias Happ
11679d167d Remove obsolete build script 2020-01-04 00:54:01 +01:00
Tobias Happ
3a1e13fd20 Always use long option names for more clarity 2020-01-04 00:54:01 +01:00
Tobias Happ
af2e0b7af0 Remove bashism to be posix compliant 2020-01-04 00:54:01 +01:00
Tobias Happ
fd73d76faf Fix inconsistent naming 2020-01-04 00:54:01 +01:00
Alexander Sosedkin
b937531d13 Bundle talloc closure along with proot 2020-01-04 00:54:01 +01:00
Alexander Sosedkin
c8f577bad3 Fix reverting to a home-manager-less generation 2020-01-04 00:54:01 +01:00
Alexander Sosedkin
4018b987bf Add a build script to patch paths and inject proot 2020-01-04 00:54:01 +01:00
Alexander Sosedkin
b314d131b2 Exclude talloc.so, stop pulling in NDK 2020-01-04 00:54:01 +01:00
Tobias Happ
be94291b9b Fix etc cleanup and be more verbose 2020-01-04 00:54:01 +01:00
Tobias Happ
4814fca275 Use bash strict mode for login 2020-01-04 00:54:01 +01:00
Tobias Happ
90e5fb2f49 Fix issues of lazy install of login-inner
If initalisation is done, a new session would result in a reinit as
login-inner is not installed. The file /etc/UNINTIALISED helps to
prevent this from happening.

The same applies to any logic like home-manager sourcing which would
only take effect after restarting the app.
2020-01-04 00:54:01 +01:00
Tobias Happ
e0ee316311 Fix path to default nix-on-droid.nix 2020-01-04 00:54:01 +01:00
Tobias Happ
c6a2a992fe Add missing toString for null values 2020-01-04 00:54:01 +01:00
Tobias Happ
0b49d57487 Check hm-session-vars only if home-manager is enabled 2020-01-04 00:54:01 +01:00
Tobias Happ
8df2d1d55c Set writable bit for default config 2020-01-04 00:54:01 +01:00
Tobias Happ
141df13aa2 Add do not edit comments in login/login-inner 2020-01-04 00:54:01 +01:00