OpenWrt is a Linux-based firmware release that is commonly used on embedded systems to run routers or wireless access points. If you're running NixOS, it's easy to install OpenWrt, as well. Here are the steps you need to take:
Open a terminal window and run the following command to update the system:
sudo nixos-rebuild switch
Install OpenWrt by running the following command:
sudo nix-env -iA nixos.openwrt
Once the installation is complete, reboot your system by running the following command:
sudo reboot
After rebooting your system, OpenWrt should be installed while still preserving the necessary pre-existing configurations.
After installing OpenWrt, ensure that it is configured and functional properly using the command line or Luci web interface.
OpenWrt should come with a Lightning flair and solid configuration options being a great Open Source and Linux Distribution for Router and access point systems.
That's it! You have now installed OpenWrt on your NixOS latest system.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!