mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
4.6 KiB
4.6 KiB
Changelog
Release 24.11 (unreleased)
Release 24.05
New Options
- New options under
android-integration, offer some of the tools familiar to Termux users:am,termux-open,termux-open-url,termux-reload-settings,termux-setup-storage,termux-wake-lock,termux-wake-unlockandxdg-open.
Compatibility considerations
nixOnDroidConfigurationspkgsargument is now mandatory. Put simply, if one's using a flake config, they need to addnixpkgstooutputs = { self, nixpkgs, ... }:if it was previously missing, then add apkgs = import nixpkgs { system = "aarch64-linux"; };as an argument tonixOnDroidConfiguration. If in doubt, refer to thetemplates.config.archoption has been dropped. Consider usingpkgs.systeminstead.
Release 23.11
New Options
-
New options
networking.hosts,networking.hostFilesandnetworking.extraHostsfor/etc/hostsconfiguration. -
Terminal colorscheme can now be configured with
terminal.colorsoption. Previously present file will be backed up tocolors.properties.bak.
Release 23.05
New Options
- Add option
environment.extraOutputsToInstall.
Release 22.11
Compatibility considerations
- 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 - The option
system.stateVersiondoes not have a default value anymore. Previously, its default was"19.09"the release the state version was introduced.
New Options
- Terminal font now should be specified using
terminal.fontoption, set it to any file containing a font to apply it. An in-appStylingoption will no longer work. Previously present file will be backed up to~/.termux/font.ttf.bak. - Add option
environment.motdto edit the startup message that is printed in every shell
Other notable changes
/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
- 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
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;