Skip to content

The scoot desktop

Turn on the profile, pick a look, rebuild, log out, and choose scoot on your login screen. On NixOS that is two short additions, one per side:

configuration.nix
programs.scoot = {
enable = true;
desktop.enable = true;
look = "afterglow"; # the login screen and system fonts follow it
};
home.nix
programs.scoot = {
enable = true;
desktop.enable = true;
look = "afterglow"; # or hearth, linen, nocturne, sumi, frostline, graphite, matte-ink
};

Set the same look on both sides: your side themes the desktop, the system side themes the login screen and picks the system fonts.

You get the bar, the wallpaper, idle and lock, notifications, a launcher (Super+d), clipboard history, screenshots and screen sharing, volume and brightness keys with an on-screen display, night light, a polkit agent and keyring, and GTK and Qt themed to the look. Power policy, the input method and the ReGreet login screen stay opt-in.

The full scoot desktop in a dark look from before 0.8: the bar with an unread count, two terminals, the launcher mid-search and two notification cards over the cat-peeking wallpaper

Your other sessions and your login screen stay. To undo, set desktop.enable = false; on both sides and rebuild, or boot the previous generation.

Starting from nothing? The three files (flake.nix, configuration.nix, home.nix) are on Install, ready to copy: one switch, one look, the whole desktop, rolled back together.

Which file does a snippet go in? Each one on these pages is titled with its file. The system side (configuration.nix) installs services and system packages; your side (home.nix) writes the config and runs your user services. Most pieces need both halves: set them in both.

The Install page has the whole flake.nix. Prefer FlakeHub? The flake is published as scoot-sh/scoot (once per merge to main, after both architectures’ binaries reach Cachix):

flake.nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
scoot.url = "https://flakehub.com/f/scoot-sh/scoot/*.tar.gz";
};
}

or fh add scoot-sh/scoot. * follows the rolling release (every merge to main): its numbers are one minor ahead of the last release (0.3.<commits> while releases are 0.2.x), so they always sort newest. A constraint like 0.3.* stops following main once 0.3.0 is released; pin a full version from the flake’s page to hold still. Either way, set up the binary cache or Nix compiles Smithay and the crates locally.

Leave scoot.inputs.nixpkgs.follows = "nixpkgs" off unless you have a reason: Cachix holds binaries built from scoot’s own pinned nixpkgs, so pointing it at yours makes the cache miss and the first build compile locally. Which package name to take, the overlay, nix run and the macOS split are in the Nix flake reference.

The session entry comes on with the profile. Without the profile, session.enable stays an explicit opt-in. The entry adds scoot alongside your existing sessions, never replacing the default. The greeter replaces the login screen, so it is opt-in twice over; it is refused at eval beside GDM or SDDM. Logging in through it starts the same session First session describes.

A switch never ends your session. The running compositor keeps running from its old store path, even when the switch ships a new scoot build, and the new build takes over at the next login. Session-bound units whose own files changed (the bar, the notification daemon, the clipboard watchers) restart against the still-running compositor and reattach to the same display socket. If the compositor itself exits (quit, crash or stop), the session targets stop with it, so nothing restart-loops on a missing display; log back in for a fresh session on the new build. That includes systemctl --user restart scoot.service: restarting the compositor ends the session, so use it only when you mean to log out.

Symptom: after a switch the bar logs “cannot connect to the Wayland compositor” over and over while the session targets stay active. That is a session outliving its compositor. Check which side went missing first (systemctl --user status scoot.service names the state; journalctl --user -u scoot.service names the exit), stop the leftovers (systemctl --user stop scoot.service scoot-session.target), and log in again.

Which options live on which side:

Side Owns
NixOS (programs.scoot in configuration.nix) the package system-wide; the login-screen session entry; system-wide scootbg (so [wallpaper] finds it on PATH); the idle/lock tools system-wide, the docked-lid rule, and the locker’s PAM service; the portal backends system-wide plus PipeWire running; the OSD installed system-wide; the night-light tool system-wide; the polkit authority, the agent and the keyring system-wide plus the greetd keyring-unlock PAM pair; system dconf (for the theme’s dark-mode signal); the profiles daemon, the lid/power-key/low-battery policy and the charge service (all opt-in through power.enable); the greeter
Home Manager (programs.scoot in home.nix) the themed config file; the portal config; the per-desktop chooser config xdpw asks through; the screenshot tools; the secrets client; the user units (idle policy, notification daemon, clipboard watchers, night light, bar feed, OSD, polkit agent) plus the scoot-session.target scope they start in; the volume/brightness/sink scripts beside the keymap’s binds; the profile switch, the charge button’s fill unit, and the tools for the user

Standalone home-manager (Nix on another distro, or a home.nix kept next to the machine that edits it, which also manages the config on macOS for the Linux box it deploys to) takes the same home.nix. The flake for it is on Install, under Nix on another Linux.

A home-manager-only setup still needs two things from wherever PAM and the seat are configured: a /etc/pam.d/swaylock service for the locker (else no password unlocks it; see Idle and lock), and backlight rights for dimming (else the dim step logs EPERM and does nothing).

Every profile unit (the idle pair, the notification daemon and its bar feed, both clipboard watchers, and the profile-managed bar) starts in scoot-session.target, scoot’s own session scope, and stops when it ends. That scope is what the launcher starts past the display import, so the display is already in the user manager when the units start. No other desktop starts them: logging in to GNOME, KDE, niri or Hyprland with the same home-manager config leaves scoot’s notification daemon, locker policy and clipboard history stopped instead of running them inside someone else’s session. (A standalone bar, the bar module without the profile, stays a generic graphical-session.target unit.)

Without the launcher (a hand-written greetd entry or startwm.sh that runs scoot --tty directly instead of scoot-session), start the scope by hand once the display is known, and stop it on the way out:

Terminal window
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE
systemctl --user start scoot-session.target
# ... on exit:
systemctl --user stop scoot-session.target

The home-manager side installs the scope’s target file itself, so this works with no NixOS login entry. Units ordered after the scope inherit the imported display from the user manager. A sessionScript entry (scoot --tty -- session.sh) gets none of this wiring. For startup programs, use [autostart] instead.

nix run github:scoot-sh/scoot -- --nested -- foot tries it with nothing installed, and nix profile add keeps it (see Install). Not on NixOS at all? Use the same page’s build-from-source route plus your own bar, launcher and session script. The profile is optional, and everything it automates is documented across this site.

The profile never sets programs.scoot.package, so pick a build there (the default; X11 is a runtime knob, not a package) and the whole desktop follows it.

Two loud refusals instead of silent no-ops: desktop.enable without programs.scoot.enable, and a look without desktop.enable, each fail evaluation naming the missing switch; an unknown look fails naming the catalog.

Each piece of the profile has its own page.

Choose the look, what the app theme covers, and a wallpaper from a link. See Look and theme.

Moved to Look and theme.

Moved to Look and theme.

The dim, lock and screen-off schedule, the locker and its PAM setup. See Idle and lock.

scootnotify as the notification daemon, and moving over from mako. See Notifications.

A history that outlives the app that copied, with a picker. See Clipboard.

The Super+d launcher, and moving over from fuzzel. See Launcher.

Screen sharing through the portals, and screenshots. See Screenshots and screen sharing.

Sound, brightness keys and the on-screen display

Section titled “Sound, brightness keys and the on-screen display”

PipeWire, the volume and brightness keys, and the on-screen display. See Sound, brightness keys and the on-screen display.

Warm the screen after dark. See Night light.

The polkit agent and the keyring. See Privilege prompts and the keyring.

The terminal, file opening, user directories and automounting. See Terminal, files, and removable media.

The WiFi and Bluetooth pickers. See WiFi and Bluetooth.

The keymap for hardware keys and desktop actions. See Hardware keys and desktop actions.

Power profiles, lid and low-battery policy, and a charge limit (opt-in). See Power.

Scale and power that follow the connected monitors. See Displays.

The greeter, and a TTY autologin without one. See The login screen.

Moved to The login screen.

fcitx5 for CJK and compose input (opt-in). See Input method.

XWayland is a runtime knob on the single package: the profile’s desktop.xwayland.enable defaults the compositor’s [xwayland] enabled on, and the default scoot package already carries XWayland, so leave programs.scoot.package at the default and turn the knob on as in the install page.

Every piece has one boolean (plus a package override where a package is involved):

Slot Type Default Child
desktop.launcher.enable (+ daemon) bool (+ enum, package) true (Launcher: scootlaunch on Super+d and Ctrl+Alt+Space, overlay layer, themed, nothing held when closed) launcher (scootlaunch; fuzzel one line away)
desktop.capture.enable bool + packages true (Screenshots and screen sharing: portal backends, PipeWire, grim + slurp, the output chooser)
desktop.auth.enable / desktop.secrets.enable bool + packages true (Privilege prompts and the keyring: polkit-gnome agent spawned by the session leader, gnome-keyring D-Bus activated with one unlock per login) polkit agent + keyring
desktop.audio.enable bool + package true (Sound, brightness keys and the on-screen display: PipeWire with WirePlumber, the OSD on overlay, the binds through its scripts)
desktop.clipboard.enable (+ maxItems, dbPath, three packages) bool (+ int, path, packages) true (Clipboard: history kept, picker bound, wiped at lock) clipboard persistence + history (lean cliphist + wl-clipboard + the launcher’s menu)
desktop.nightlight.enable bool + package true (Night light: wlsunset on the manual schedule, gammastep for location mode, themed by the look) night light (wlsunset now, gammastep beside it; a future scoot-native keeps the names)
desktop.power.enable bool + package false (opt-in, never with the profile — Power: profiles on Super+p, lid/low-battery suspend, charge limit) power profiles, suspend, charge limit
desktop.theme.enable bool + package false GTK/Qt theme, dark mode
desktop.apps.terminal.enable / desktop.apps.fileManager.enable bool + package terminal true, file manager false (Terminal, files, and removable media: foot, xdg-open and the user dirs; pcmanfm opt-in) terminal + file manager
desktop.apps.network.enable / desktop.apps.bluetooth.enable bool + packages true (WiFi and Bluetooth: pickers on Super+w / Super+b and the bar’s modules) network + Bluetooth pickers
desktop.displays.enable (+ profiles) bool (+ list) true (Displays: the watcher re-matches the connected set at login, on every plug and unplug, and on idle resume, sets scale and power live over IPC, never writing the config, and turns back on only the outputs it turned off) output policy (scoot-native profiles, a stopgap: stock kanshi cannot drive the read-only output-management write half)
desktop.inputMethod.enable (+ daemon, addons, package) bool (+ enum, list, package) false (opt-in, never with the profile — Input method: fcitx5 as a user unit, toolkit variables where needed, candidate window themed) input-method engine (fcitx5 now; a future engine keeps the names)
desktop.automount.enable bool + package true (Terminal, files, and removable media: udiskie trayless over udisks2, internal disks ignored) removable-media automount

false means the daemon is not started. Changes apply on rebuild/switch.