The Nix config for my NixOS desktop, Lavitz
  • Nix 84.6%
  • Shell 8.1%
  • Makefile 7.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-29 19:32:03 -06:00
home/atridad Updates and Sunshine fix 2026-11-29 19:14:58 -06:00
hosts/lavitz Re-work 2026-11-01 23:36:02 -06:00
modules Updates and Sunshine fix 2026-11-29 19:14:58 -06:00
scripts Update bootstrap.sh 2026-08-12 21:12:39 -06:00
.gitignore First draft 2026-07-28 01:17:07 -06:00
flake.lock Updates and Sunshine fix 2026-11-29 19:14:58 -06:00
flake.nix Noctalia full send! 2026-11-29 13:55:17 -06:00
Makefile 1pass 2026-11-12 19:28:06 -06:00
README.md Update README.md 2026-11-29 19:32:03 -06:00

lavitz

NixOS config for lavitz: Umbriel, Noctalia, Noctalia Greeter, and Luciole.

Setup

git clone ssh://git@ssh.atri.dad:69/atridad/lavitz.git \
  "$HOME/Developer/personal/lavitz"
cd "$HOME/Developer/personal/lavitz"

# prompts before switch
./scripts/bootstrap.sh

# switch without prompt
AUTO_SWITCH=1 ./scripts/bootstrap.sh

# later
make pull
make switch

System commands

The shell aliases run the matching make target from anywhere. make help lists every command.

Alias Make target What it does
ns make switch Rebuild and activate now
nb make boot Rebuild, activate on next boot (use for login screen / kernel changes)
nt make test Rebuild and activate without a boot entry
nd make dry Show what would change on activation
nu make update-switch nix flake update, then switch
np make pull git pull --rebase
npush make push Push; with a dirty tree use make push MSG="..." to commit first
nsync make sync Pull, then switch
ngc make gc Delete old generations and collect garbage
nst make status Git status and the last 5 system generations
pwreset Restart PipeWire and WirePlumber (audio stuck)

Other targets: make build, make diff (package diff vs the running system), make fmt, make check, make update, make hardware (regenerate hardware-configuration.nix), make ssh-keys, make ssh-github.

Keyboard shortcuts

Super is the Windows/Command key. Press Super+/ to see every active binding. Set in home/atridad/umbriel.nix, layered on Umbriel's packaged defaults.

Apps and shell

Keys Action
Tap Super, Super+A, Super+Space App launcher
Super+Return, Ctrl+Alt+T Terminal (Ghostty)
Super+E Files (Luciole)
Super+B Firefox
Super+G Gram
Super+I, Super+, Noctalia settings
Super+S Quick settings (control center)

Windows

Keys Action
Super+T Toggle floating / tiled
Super+Shift+T Jump between floating and tiled windows
Super+Q, Alt+F4 Close
Super+H Minimize (floating windows only)
Super+M Maximize
Super+F Fullscreen
Super+P Pin above other windows
Alt+Tab, Super+Tab Window switcher (Shift to go back)
Super+←/→/↑/↓, Super+J/K Focus neighbouring window
Super+Shift+←/→/↑/↓ Move window
Super+R / Super+Shift+R Cycle window size presets
Super+- / Super+= Shrink / grow
Super+Right-drag Resize with the mouse

Workspaces

Keys Action
Super+1…9 Go to workspace
Super+Shift+1…9 Move window to workspace
Super+PgUp/PgDn, Ctrl+Alt+←/→ Previous / next workspace
Super+Shift+PgUp/PgDn Move window to previous / next workspace
Super+Home First workspace
Super+O, top-left hot corner Overview
3-finger swipe / 4-finger swipe Switch workspace / open overview

Session, screenshots, media

Keys Action
Super+L Lock
Ctrl+Alt+Delete Power menu (log out, restart, shut down)
Power button Suspend
Super+Shift+Escape Pass all shortcuts to the focused app (games, VMs); again to undo
Print Screenshot an area
Shift+Print Screenshot the whole screen
Alt+Print Screenshot the window
Volume / media / brightness keys Work as usual, also on the lock screen

Useful commands

noctalia msg --help                 # everything the shell can do (panels, screenshots, volume…)
noctalia msg plugins list           # installed / enabled plugins
umbriel outputs                     # monitor names and modes
umbriel windows                     # open windows (app ids for window rules)
umbriel msg config-reload           # reload ~/.config/umbriel/config.toml
systemctl --user restart noctalia   # restart the shell
systemctl --user start sunshine     # start game streaming (not started at login)
journalctl --user -b -u noctalia    # shell logs for this boot