- Flake: configurations for code formatting, and pre-commit hooks.
- Home: Home-Manager configurations.
- Hosts: Configurations specific to individual hosts.
- Lib: Personal library and utilities.
- Modules: Shared system-wide modules.
- pkgs: Customized and additional packages.
After boot to Nix installation.
sudo su
systemctl start wpa_supplicant
wpa_cli
scan
add_network
set_network 0 ssid "wifi-name"
set_network 0 psk "wifi-password"
enable_network 0
save_config
reconnect
Then CTRL-D
to exit.
nix-shell -p git
git clone https://ducnguyen96/gorgeos
-
Modify disko-config as you want. Full guide here
-
Run
./gorgeos/misc/disko/run
mv gorgeos /mnt
cd /mnt/gorgeos
Then generate your hardware config
nixos-generate-config --root /mnt
Copy the hardware config to your host
cp /mnt/etc/nixos/hardware-configuration.nix hosts/rtx2070
After updating host and home as you like you can install the whole thing with
rtx2070
here is your host
nixos-install --flake .#rtx2070
It will take a while. Then after that you can reboot.
# note that rebuild script assume your flake is in the same directory as this repo which is $HOME/gorgeos
rebuild
sudo nix-collect-garbage -d
nix-collect-garbage -d
Source: https://docs.waydro.id/faq/using-custom-waydroid-images
Noted: You can click on Problem Downloading button to choose other mirror
Start the container
# Start the WayDroid LXC container
sudo systemctl start waydroid-container
# You'll know it worked by checking the journal You should see "Started Waydroid Container".
sudo journalctl -u waydroid-container
# Start WayDroid session
# You'll know it is finished when you see the message "Android with user 0 is ready".
waydroid session start
General usage
# Start Android UI
waydroid show-full-ui
# List Android apps
waydroid app list
# Start an Android app
waydroid app launch <application name>
# Install an Android app
waydroid app install </path/to/app.apk>
# Enter the LXC shell
sudo waydroid shell
# Overrides the full-ui width
waydroid prop set persist.waydroid.width 608