# ASUS ROG Ally X (allyx)

`systems/x86_64-linux/allyx/`

## Hardware

- **Device**: ASUS ROG Ally X handheld gaming PC
- **CPU/GPU**: AMD (LACT, CoolerControl)
- **Disk**: NVMe with LUKS encryption
- **Security**: Lanzaboote (Secure Boot)

## Key Features

- Jovian NixOS for Steam Deck-compatible experience
- Steam auto-starts into Game Mode on boot
- Decky Loader for Steam Deck plugins
- Handheld Daemon for power/TDP/fan control
- GNOME available as a desktop session (selectable from Steam)
- SDDM (Wayland) as display manager — GDM disabled
- Gaming enabled (Gamemode, Gamescope, etc.)
- AMD GPU management via LACT
- CoolerControl for fan curves
- iwd as the Wi-Fi backend
- Impermanence (ephemeral root)

## Jovian NixOS

The allyx uses [Jovian NixOS](https://github.com/Jovian-Experiments/Jovian-NixOS) to provide Steam Deck compatibility:

```nix
jovian.steam = {
  enable        = true;
  autoStart     = true;
  desktopSession = "gnome";  # fall-through desktop session
};

jovian.decky-loader = {
  enable         = true;
  extraPackages  = [ pkgs.python3 pkgs.systemd ];
};
```

## Network

- **Hostname**: allyx
- **Wi-Fi backend**: iwd (via NetworkManager)

## Configuration Files

| File | Purpose |
|---|---|
| `default.nix` | Main config — Jovian, gaming, hardware |
| `boot.nix` | Lanzaboote, kernel |

## Secrets

Secrets are in `secrets/allyx-secrets.yaml`, encrypted for: `matt`, `desktop`, `deck`, `steamdeck`, `admin`, `jallen-nas`, `matt_allyx`, `allyx`.
