Debian and Ubuntu
Download the .deb of each app you want from the latest release. On x86_64 they end in _amd64.deb, on aarch64 in _arm64.deb. Install them in one command, so apt resolves their dependencies together:
sudo apt install ./lys-wm_<version>_amd64.deb ./lys-shell_<version>_amd64.deb \
./lys-login_<version>_amd64.deb ./lys-settings_<version>_amd64.deb \
./lys-power_<version>_amd64.deb ./lys-secrets_<version>_amd64.deblys-polkit has no .deb or .rpm: install it with go install github.com/stubbedev/lys/polkit/cmd/lys-polkit@latest, or through the flake (Other systems), and copy its user unit from polkit/dist/lys-polkit.service.in with @bindir@ replaced.
The packages install binaries, units, PAM services and data files, and enable nothing.
Switch the display manager
sudo systemctl disable gdm # or your current display manager
sudo systemctl enable lys-loginReboot. The greeter offers the lys-wm session. lys-login on Debian, Ubuntu and Fedora covers the greeter's config, autologin and how to revert.
Enable the session services
Disable any other Secret Service provider and polkit agent first, then:
systemctl --user enable lys-shell lys-secrets lys-polkitThey start with your next session. Set the lock screen's PAM service in ~/.config/lys-shell/config.yaml:
login:
lock:
pam-service: lys-shellBattery charging
On a laptop, enable lys-power's system service, after disabling TLP or any other tool that sets the battery's charge thresholds:
sudo systemctl enable --now lys-powerBoot splash
lys-splash is installed from its Nix build on Debian and Ubuntu, since it replaces Plymouth in the initramfs: see lys-splash's install guide.
Dependencies
Each package depends on the libraries it loads and recommends the services it talks to. The app pages list them: lys-wm, lys-shell, lys-login, lys-power, lys-secrets.