Commit graph

431 commits

Author SHA1 Message Date
Tobias Happ
c70a1d9745 set stable version to 22.11 2022-12-04 17:04:17 +01:00
Tobias Happ
7e8f1ad6e2 modules/version: remove default stateVersion value
The state version is a sensible value that should explicitly set in the
users config.

Following home-manager: https://github.com/nix-community/home-manager/pull/3043.
2022-12-04 17:04:17 +01:00
Alexander Sosedkin
9ba1feced2 deploy: allow specifying urls not ending with source.tar.gz
For example, the official bootstrap ones.
2022-12-04 13:09:13 +01:00
Tobias Happ
5e7d6d1214 environment.path: fix installation with nix profile
Manual removal and installation as two non-atomical steps is required
because of https://github.com/NixOS/nix/issues/6349.
2022-12-04 13:09:02 +01:00
Pavel Atanasov
4e58ce7971 fix(terminal.nix): quote font paths 2022-11-26 01:30:04 +01:00
Daniel Kahlenberg
c16cb917d7 Export pkgs
See @Gerschtli's suggestion in https://github.com/t184256/nix-on-droid/discussions/226#discussioncomment-4220726
2022-11-24 15:32:35 +01:00
Tobias Happ
a9b1790700 ci: fix incorrect path to docs directory 2022-11-20 23:54:14 +01:00
Tobias Happ
ae0569fb92 treewide: use consitent casing of Nix-on-Droid/nix-on-droid
Whenever Nix-on-Droid references the project or application it should be
upper-cased.

When nix-on-droid is referencing the CLI-tool or is used as some ID, it
should be lower-cased.
2022-11-20 20:15:31 +01:00
Tobias Happ
b76fb0954e treewide: improve option descriptions 2022-11-20 20:15:31 +01:00
Tobias Happ
7b039faa83 docs: mention new docs in README and CHANGELOG 2022-11-20 20:15:31 +01:00
Tobias Happ
31bb4913c0 ci: add workflow to automatically deploy docs 2022-11-20 20:15:31 +01:00
Tobias Happ
f62cd709c8 docs: add html and man pages for options 2022-11-20 20:15:31 +01:00
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