Commit graph

463 commits

Author SHA1 Message Date
Tobias Happ
eb2fcc80f5 Add managing of proot-static 2020-01-04 00:54:01 +01:00
Tobias Happ
41fca9b4e9 Add rollback functionality in nix-on-droid 2020-01-04 00:54:01 +01:00
Tobias Happ
8ad0e40c2b Use nix-env to set nix-profile link 2020-01-04 00:54:01 +01:00
Tobias Happ
b52091eff6 Set login and loginInner to internal options 2020-01-04 00:54:01 +01:00
Tobias Happ
cd58e8dbd4 Link to profile in activation script instead of nix-on-droid 2020-01-04 00:54:01 +01:00
Tobias Happ
be7dfc7195 Set group and userName to readOnly
Should not be configurable by user because I do not know what kind of
operations would be necessary to rename a user.
2020-01-04 00:54:01 +01:00
Tobias Happ
cc77204f65 Add activationBefore and activationAfter options 2020-01-04 00:54:01 +01:00
Tobias Happ
867aa587ea Provide a functional workaround for crashing bash on inital build 2020-01-04 00:54:01 +01:00
Tobias Happ
5a915530b0 Create nix-profile link manually 2020-01-04 00:54:01 +01:00
Tobias Happ
cfe16dff4e Use three dots for ellipsis 2020-01-04 00:54:01 +01:00
Tobias Happ
33a13a24ae Fix home-manager module 2020-01-04 00:54:01 +01:00
Tobias Happ
74dfcb3cac Remove already installed package of example list 2020-01-04 00:54:01 +01:00
Tobias Happ
6110d4d282 Add PASSTHROUGH_OPTS in path-info too 2020-01-04 00:54:01 +01:00
Tobias Happ
f2867e8b20 Set GC_NPROCS to hide gc warning messages of nix
See https://github.com/NixOS/nix/issues/3237
2020-01-04 00:54:01 +01:00
Tobias Happ
41e39deaec Simplify return value of modules/default.nix 2020-01-04 00:54:01 +01:00
Tobias Happ
5546564104 Remove deprecated src directory 2020-01-04 00:54:01 +01:00
Tobias Happ
68e5b8302a Add updated pkgs tree 2020-01-04 00:54:01 +01:00
Tobias Happ
f40362898a Add modules 2020-01-04 00:54:01 +01:00
Tobias Happ
5cc656fffc Add nix-on-droid script 2020-01-04 00:54:01 +01:00
Tobias Happ
b7ad1d5d08 Set indent_size for shell script to 4 2020-01-04 00:54:01 +01:00
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
f1bd342b51 Fix attribute 'proot-termux' missing 2019-11-16 12:06:43 +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
Alexander Sosedkin
e97c1a01d6 Fix argument name for channel override 2019-11-04 21:23:42 +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
89e7d61d07 Link to F-Droid and NixCon 2019 presentation 2019-10-28 19:16:56 +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
a68033c30a Push Travis builds to cachix in background 2019-10-17 02:33:05 +07:00
Alexander Sosedkin
57116a7636 Update README 2019-10-09 02:53:40 +02: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
082dcf8b93 Convert the channel into a function 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