Commit graph

419 commits

Author SHA1 Message Date
Tobias Happ
8687e3d6da user: add defaultText for uid and gid 2022-11-20 20:15:31 +01:00
Tobias Happ
4ca0fc01e4 home-manager: exclude home-manager options docs 2022-11-20 20:15:31 +01:00
Tobias Happ
5ebbbe418a treewide: replace literalExample with literalExpression 2022-11-20 20:15:31 +01:00
Tobias Happ
27c206f57a tests: ease development in fakedroid env for on-device-tests 2022-11-08 20:29:52 +01:00
Tobias Happ
6a345626c0 add support for default configuration in flake.nix 2022-11-08 20:29:52 +01:00
Tobias Happ
ffac515cfb environment.motd: add option 2022-11-08 20:29:52 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Tobias Happ
d68467d679 split _module.args and specialArgs
specialArgs are evaluated earlier and can therefore used in imports in
the module system. This is the difference in comparison to _module.args.
2022-11-08 20:29:52 +01:00
Alexander Sosedkin
587825a1e4 tests: extend guessing $FLAKE_URL to non-github cases 2022-11-06 21:43:51 +01:00
Tobias Happ
70bc99a562 tests: remove usage of undeclared runtime dependencies 2022-11-06 21:43:51 +01:00
Tobias Happ
28e2fde133 deploy: add build and deploy script as flake app 2022-11-06 21:43:51 +01:00
Tobias Happ
0a3b09df75 tests: add fakedroid as flake app 2022-11-06 21:43:51 +01:00
Tobias Happ
1c88e73c78 flake: simplify nix-on-droid app definition 2022-11-06 21:43:51 +01:00
Tobias Happ
4ab4767d50 treewide: format code 2022-11-06 20:26:32 +01:00
Tobias Happ
0d984e4415 flake: setup nix-formatter-pack 2022-11-06 20:26:32 +01:00
Alexander Sosedkin
4050f7f992 login-inner: fix default choice on bootstrap flakes prompt 2022-10-29 12:47:15 +02:00
Tobias Happ
5772a879a1 ci: update github actions 2022-10-28 17:52:27 +02:00
Tobias Happ
1dc1cd67a4 bootstrap: override flake inputs if needed 2022-10-28 17:52:27 +02:00
Tobias Happ
3629a12231 merge multiple extra-experimental-features args 2022-10-28 17:52:27 +02:00
Tobias Happ
b8ac792d3c build.sh: update to flakified bootstrap creation 2022-10-28 17:52:27 +02:00
Tobias Happ
b01a2a8a57 bootstrap: use env vars to set custom channel urls 2022-10-28 17:52:27 +02:00
Tobias Happ
bb8ac7fe1f flake: remove flake-utils
Adding a dependency for trivial tasks like these is unnecessary overhead
for a library project. Not using flake-utils also leads to easier
composability.
2022-10-28 17:52:27 +02:00
Tobias Happ
fa250d1c54 ci: remove set up of NIX_PATH 2022-10-28 17:52:27 +02:00
Tobias Happ
138145d3b1 flake: sort outputs alphabetically 2022-10-28 17:52:27 +02:00
Tobias Happ
c0b87d967f bootstrap: add prompt to bootstrap with flakes setup 2022-10-28 17:52:27 +02:00
Tobias Happ
5900404627 bootstrap: inject nixOnDroidFlakeURL 2022-10-28 17:52:27 +02:00
Tobias Happ
c4365ef010 environment.path: add support for nix profile 2022-10-28 17:52:27 +02:00
Tobias Happ
2d73773ed7 flake: add nix-on-droid as flake package 2022-10-28 17:52:27 +02:00
Tobias Happ
d21dce1a41 docs: update examples and default config
Show recommended setups instead of more error-prone examples.
2022-10-28 17:52:27 +02:00
Tobias Happ
f4edb7be86 templates: add templates for some use cases 2022-10-28 17:52:27 +02:00
Tobias Happ
8b33a28370 CHANGELOG: document flakification of project 2022-10-28 17:52:27 +02:00
Tobias Happ
5d9e3c3dd1 tests: refactor to support flake setup 2022-10-28 17:52:27 +02:00
Tobias Happ
004faf1835 ci: remove extra_nix_config for flakes and nix-command
Enabled by default.
2022-10-28 17:52:27 +02:00
Tobias Happ
2b88cb5957 ci: replace ci.nix with build of bootstrapZip
bootstrapZip builds all derivations transitively.
2022-10-28 17:52:27 +02:00
Tobias Happ
7cea00a1c7 tests: increase robustness of fakedroid.sh 2022-10-28 17:52:27 +02:00
Tobias Happ
274bb4babd bootstrap: flakify bootstrap zip ball generation 2022-10-28 17:52:27 +02:00
Tobias Happ
b10dd78e18 bootstrap: refactor special args to reduce inputs 2022-10-28 17:52:27 +02:00
Tobias Happ
2ef9a7faa2 home-manager: fix directory not found error
Prepend of /. produces directory not found error when building on a non
nix-on-droid environment. The etc module works also with just a string.
2022-10-11 21:37:01 +02:00
Tobias Happ
83ab467992 flake: add flake.lock 2022-10-04 00:43:13 +02:00
Tobias Happ
a5ed8b213f treewide: apply statix fixes 2022-10-04 00:43:13 +02:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00
Tobias Happ
241632822a ci: add workflow for coding style linting 2022-10-04 00:43:13 +02:00
Tobias Happ
b5d055df01 flake: add formatter 2022-10-04 00:43:13 +02:00
Tobias Happ
08cfd65b67 flake: update to new naming convention for outputs 2022-10-04 00:43:13 +02:00
Tobias Happ
7474a703ea ci: update github workflows 2022-10-04 00:43:13 +02:00
Tobias Happ
c170d27234 environment.nix: fix NIX_PATH environment variable 2022-10-04 00:35:37 +02:00
Zhaofeng Li
e6c9902ddc CHANGELOG: Mention fake /proc/uptime workaround for ps 2022-09-24 00:32:10 +02:00
Zhaofeng Li
49e10dbb52 login: Add fake /proc/uptime workaround for ps
Fixes #77.
2022-09-24 00:32:10 +02:00
Alexander Sosedkin
e214fdef86 CHANGELOG: terminal.font selection 2022-09-22 23:04:41 +02:00
Alexander Sosedkin
9543f41de9 modules/terminal: make font configurable 2022-09-22 23:04:41 +02:00