Personal Linux workstation configuration.
Bootstrap Home Manager with the repo flake:
make prepareCheck prerequisites for the non-bootstrap targets:
make doctorSync repo-managed files into place:
make syncApply the Home Manager configuration:
make switchDo both in one step:
make applyShow repo status:
make statusReload Waybar after config or style changes:
make reload-waybarToggle Waybar visibility:
make toggle-waybarThe bin/niri-ctl helper supports environment overrides for machine-specific values:
NIRI_CTL_MONITOR_MAINNIRI_CTL_MONITOR_PORTRAITNIRI_CTL_MONITOR_SECONDARYNIRI_CTL_MONITOR_MAIN_MATCHNIRI_CTL_MONITOR_PORTRAIT_MATCHNIRI_CTL_PROJECTS_DIRNIRI_CTL_TERMINALNIRI_CTL_EDITORNIRI_CTL_IDENIRI_CTL_BROWSER
Example:
NIRI_CTL_PROJECTS_DIR="$HOME/src" \
NIRI_CTL_BROWSER=firefox \
NIRI_CTL_MONITOR_SECONDARY=DP-1 \
niri-ctl projectmake syncinstalls the wallpaper to~/.local/share/backgrounds/background.jpg.make prepareruns Home Manager directly from this repo using apath:flake reference and uses-b backupto preserve pre-existing conflicting files on first activation.make switchrunshome-manager --impure switch.