One command
Try it in a window.
From any Wayland desktop with Nix, the first builds Gloam and opens Tide, the whole desktop with its shell, inside a window, with a terminal. The second is Shady alone: Tide's layout and keys, no shell. Press Super+Shift+/ to see every shortcut of the session.
Run from a text console, either starts full screen. Other rices, such as Afterglow, are packages of their own.
nix run github:gloaming-dusk/gloam
nix run github:gloaming-dusk/shadyEnter the development shell
Shady targets wlroots 0.20.2. The Nix shell supplies Meson, Ninja, Wayland tooling, Lua, GLES/EGL, and the test utilities.
Build the compositor
./tools/build.sh creates or reconfigures the Meson build and runs Ninja.
Run nested first
Use the Wayland backend inside your current compositor. This is the easiest place to validate clients and configuration.
Try the compatibility path
--safe bypasses the spatial renderer, physics, FPS interaction, and visual effects.
Move to a real VT
Once nested operation is reliable, use ./tools/run-native.sh for DRM + libinput on a normal Linux VT login.
Make it yours
With nothing configured Shady is Tide. Build on it with a few lines of Lua, copy it with shady-rice eject and rewrite it, or pick another rice such as Horizon or Afterglow.
nix develop
./tools/build.sh
WLR_BACKENDS=wayland ./build/shadyWLR_BACKENDS=wayland ./build/shady --safe
# First native smoke test from a real VT
./tools/run-native.sh --safe -s footNixOS
Install the whole desktop.
programs.gloam.enable adds the session and its login screen, the services the shell talks to and a set of applications. Shady, shady-shell and shady-greeter each have a module of their own too.
The session and the greeter are Tide's unless you say otherwise: programs.shady.rice picks another rice for whatever you have not configured in ~/.config/shady/, and services.shady-greeter.theme the login screen. See the greeter docs.
{
inputs.gloam.url = "github:gloaming-dusk/gloam";
outputs = { nixpkgs, gloam, ... }: {
nixosConfigurations.my-machine = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
gloam.nixosModules.default
{ programs.gloam.enable = true; }
];
};
};
}Regression gates
Fast checks before you trust a build.
The repository includes separate core and spatial gates for quick local validation.
./tools/daily-driver.sh all
./tools/spatial-daily-driver.sh all
./tests/spatial-suite.sh