mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
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.
3.3 KiB
3.3 KiB
Changelog
Release 22.11 (unreleased)
- Terminal font now should be specified using
terminal.fontoption, set it to a TTF file to apply a font. An in-appStylingoption will no longer work. Previously present file will be backed up to~/.termux/font.ttf.bak. /proc/uptimeis now faked with a stub that allows unpatchedpsto work.- Refactored project for flakes usage (still supporting non-flake setups on device, but bootstrap zip ball creation and running tests via fakedroid requires flake setup)
- Add support for
nix profilemanaged profiles - Add possibilty to bootstrap Nix-on-Droid with flakes via prompt on initial boot
- Fix usage of
extraSpecialArgs: All values were previously set in_module.argsinstead of passing them asspecialArgsintoevalModules. This enables usage ofspecialArgsto use inimportsin module defintions. - In an effort to reduce the number of arguments to
lib.nixOnDroidConfigurationfunction in flake configurations,systemis now inferred frompkgs.systemandconfigandextraModulesare now combined intomodules - Add option
environment.motdto edit the startup message that is printed in every shell - For flake setups, the output
nixOnDroidConfigurations.defaultwill be used whennix-on-droid switch --flake path/to/flakeis called without attribute name - Add html and man pages with all available options, see https://t184256.github.io/nix-on-droid/
and
nix build github:t184256/nix-on-droid#manPages - The option
system.stateVersiondoes not have a default value anymore. Previously, its default was"19.09"the release the state version was introduced.
Release 22.05
Compatibility considerations
/proc/statis now faked with a stub that allows unpatchedhtopto work.--sysvipcprootextension has been enabled to facilitate shared memory interprocess communication.
Release 21.11
New Options
- The
nix.packagecan be used to set the system-wide nix package.
Removed Options
- The
system.workaround.make-posix-spawn.enablehas been removed. - i686 support has been removed.
Release 21.05
New Options
- The
/etc/nix/nix.conffile is now fully configurable with the new optionsnix.*.
Deprecations
system.workaround.make-posix-spawn.enable = true;is no longer needed is deprecated.- i686 support will be deprecated in the next release unless somebody steps up to test it.
Release 20.09
State version changes
These changes are only active
if the system.stateVersion option is set to "20.09" or later.
home-manager.useUserPackagesnow defaults totrue. The developers are not aware of any adverse effects so far.
Other compatibility considerations
- Pre-module-system installations are not supported anymore with this release.
If you are not on
release-19.09yet, either or attempt an upgrade torelease-19.09and follow the instructions, or backup and reinstall (preferred).
Nix flakes support
- A
flake.nixfile was added.
Known issues
- If
makefails on your device withFunction not implemented, report that in https://github.com/t184256/nix-on-droid/issues/91 and consider either remote building or settingsystem.workaround.make-posix-spawn.enable = true;