Commit graph

46 commits

Author SHA1 Message Date
Alexander Sosedkin
a50586202c Add less to basic-environment, nix needs a $PAGER.
Fixes #27, see also https://github.com/NixOS/nix/issues/706.
2019-11-22 09:01:55 +01:00
Alexander Sosedkin
311e314655 Move locale hack out of sight
... so it won't disrupt the narrative.
2019-11-04 22:25:01 +00:00
Alexander Sosedkin
63b9036e30 Add less to the list of suggested packages 2019-11-04 22:24:20 +00:00
Tobias Happ
64eca80528 Move nixpkgsChannelURL to src/default.nix 2019-11-04 22:22:10 +01:00
Tobias Happ
4110def2ac Refactor directory structure
Benefits of this refactoring:
- argument list is now comprehensibly as there is now only one nixpkgs
  version flying around
- common config and lib functions got abstracted away
- clearer intent when to use pinned or unpinned packages
- allows better configurability for the future through config attr set
2019-11-04 22:22:10 +01:00
Tobias Happ
9e23547108 Add lib directory 2019-11-04 22:22:10 +01:00
Alexander Sosedkin
29a9e5ccb7 Update the default channel to 19.09 2019-10-17 03:05:01 +07:00
Alexander Sosedkin
353e0f32df Update Nix to 2.3.1 2019-10-17 03:05:01 +07:00
Alexander Sosedkin
db5e4199b0 Update pinned packages to early 19.09 2019-10-17 03:04:54 +07:00
Alexander Sosedkin
5afc9b7ca6 Remove license header from the config example 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
fb018be501 Clarify double-installing basic-environment 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
dfa9686aa6 Add the missing field in /etc/passwd user entry 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
869aff3d41 Fix resolving during home-manager installion 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
a157f0ef5c Add a broken symlink resolver to login (as well) 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
7fddc1a320 Install proot as proot-static to avoid clashes 2019-10-09 02:53:40 +02:00
Tobias Happ
46b782165a Move id derivation to separate file 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
a3d4712695 Add nixOnDroidChannelURL and nixpkgsChannelURL
Add nixOnDroidChannelURL and nixpkgsChannelURL as build parameters.
2019-10-09 02:53:40 +02:00
Alexander Sosedkin
7775c8f1d6 Move /etc/{passwd,group} to basic-environment 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
0c0f62f604 Move /etc/{passwd,group} creation to login-inner 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
57fc985455 Fix argument counting in login-inner 2019-10-09 02:53:40 +02:00
Tobias Happ
fb7f12558f Create usr/lib dir in bootstrap 2019-10-09 02:53:40 +02:00
Tobias Happ
25c1d265ad Remove USER parameter in login-inner 2019-10-09 02:53:40 +02:00
Tobias Happ
edd0e170be Move login-inner to usr/lib 2019-10-09 02:53:40 +02:00
Tobias Happ
a792a56ea7 Fix wording of static symlinks 2019-10-09 02:53:40 +02:00
Tobias Happ
6bfae52a33 Rename file packages to kebab-case 2019-10-09 02:53:40 +02:00
Tobias Happ
c3ca8c5420 Install basic-environment via home-manager 2019-10-09 02:53:40 +02:00
Tobias Happ
6e6e0cde72 Add hmInstall and nixOnDroidLinker in files 2019-10-09 02:53:40 +02:00
Tobias Happ
1b4c7758b2 Save text file derivations with correct path 2019-10-09 02:53:40 +02:00
Tobias Happ
6685f5e5a0 Add missing parameter 2019-10-09 02:53:40 +02:00
Tobias Happ
5db751ec7d Update login-inner for new initialBuild flag 2019-10-09 02:53:40 +02:00
Tobias Happ
341df0f8fd Use pinnedPkgs only if initialBuild is true 2019-10-09 02:53:40 +02:00
Tobias Happ
a9fdc86c03 Remove nix-on-droid-install 2019-10-09 02:53:40 +02:00
Tobias Happ
05f1e7e6ea Refactor login-inner to setup env on first boot 2019-10-09 02:53:40 +02:00
Tobias Happ
e516e643f7 Fix indention 2019-10-09 02:53:40 +02:00
Tobias Happ
58593bc2d9 Add nix-on-droid cachix as substituter
Allows to install proot via cached version.
2019-10-09 02:53:40 +02:00
Tobias Happ
888b3c2d5b Set user and group name to nix-on-droid 2019-10-09 02:53:40 +02:00
Alexander Sosedkin
debd51f76b Set LOCALE_ARCHIVE 2019-09-28 18:40:25 +00:00
Tobias Happ
05a7c3bdc8 Replace nixInstallerSha256 with fixed sha256's 2019-09-27 20:37:18 +02:00
Tobias Happ
4b712be626 Ignore local config.nix and overlays 2019-09-22 18:24:56 +02:00
Tobias Happ
8359c22d96 Move nix-installer-sha256 to separate file to be cachable 2019-09-22 18:24:56 +02:00
Tobias Happ
aa367412eb Build derivations in files via nix-build ci.nix 2019-09-22 18:24:56 +02:00
Tobias Happ
ac42d7e6bb Add license header in each file 2019-09-21 15:34:04 +02:00
Tobias Happ
d59dd6d51e Add comment for nixpkgs revision 2019-09-21 15:34:04 +02:00
Tobias Happ
e3211574b8 Move home.nix.default to separate nix file 2019-09-21 15:34:04 +02:00
Tobias Happ
2373549259 Fix typo in directory name lfs -> l2s 2019-09-21 15:34:04 +02:00
Tobias Happ
8b0c57310b Add nix expressions to generate zip ball
I also updated termux proot version and the pinned nixpkgs version.
2019-09-21 15:34:04 +02:00