feat(hints): #73 fingerprint + doctor MOTD/first-boot tips

#43 shipped Firmware MOTD + control-center --first-boot tip. Residual:
- MOTD always lists nomarchy-doctor; Fingerprint line only when
  nomarchy.hardware.fingerprint.enable (no nag without a reader).
- first-boot tips self-gate on fprintd-list / nomarchy-doctor (same
  gum style as Firmware). No dismiss state file — first-boot is once.

V0 flake check --no-build + bash -n; V1 build control-center + eval
MOTD with/without fingerprint.enable. V3 enroll stays hardware-queue.
This commit is contained in:
Bernardo Magri
2026-07-10 09:33:40 +01:00
parent 3a874dccc8
commit ad6b76e1eb
3 changed files with 34 additions and 8 deletions

View File

@@ -47,8 +47,10 @@ in
# MOTD on TTY/SSH login (the desktop auto-logs into Hyprland, so this
# is mostly seen over SSH or on a bare console). Branded, and doubles
# as a cheat sheet for the distro's own helpers.
users.motd = lib.mkDefault ''
# as a cheat sheet for the distro's own helpers. Fingerprint line only
# when fprintd is enabled (no permanent nag on machines without a
# reader); doctor is always on PATH via systemPackages.
users.motd = lib.mkDefault (''
${distroName} a NixOS desktop, themed from one JSON.
@@ -56,9 +58,12 @@ in
sys-rebuild rebuild the system, no input update
home-update apply home/theme changes (no sudo)
nomarchy-theme-sync apply <theme> switch the whole palette
nomarchy-doctor read-only health check
SUPER+? keybindings cheatsheet
SUPER+M System Firmware check LVFS firmware updates (fwupd)
'';
'' + lib.optionalString config.nomarchy.hardware.fingerprint.enable ''
SUPER+M System Fingerprint enroll a finger (fprintd)
'');
# Unfree allowed distro-wide: pragmatic-desktop territory (vendor
# GPU/wifi drivers, firmware, fonts, …). The custom nixpkgs-config