Commit graph

69 commits

Author SHA1 Message Date
Tobias Happ
15f5d97457 Add environment.etcBackupExtension option 2020-01-04 00:54:01 +01:00
Tobias Happ
6c80065616 Add stateVersion option 2020-01-04 00:54:01 +01:00
Tobias Happ
d87275a4f8 Install proot and login-inner only if no other session is running 2020-01-04 00:54:01 +01:00
Tobias Happ
3399a56e2c Update nixpkgs revision 2020-01-04 00:54:01 +01:00
Tobias Happ
ed05a33fc0 Install login scripts and proot only if needed 2020-01-04 00:54:01 +01:00
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
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
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
f40362898a Add modules 2020-01-04 00:54:01 +01:00