fix: update zsh options and add greeter user for greetd

Co-authored-by: aider (openrouter/openai/gpt-5.2) <aider@aider.chat>
This commit is contained in:
2026-02-08 14:03:52 +11:00
parent 0b7fa961bc
commit f4e413a3cc
4 changed files with 14 additions and 5 deletions

View File

@@ -36,8 +36,10 @@ Bootloader:
## Desktop ## Desktop
- Primary compositor: Niri - Primary compositor: Niri
- Display/login manager: TBD (recommend greetd) - Display/login manager: greetd + tuigreet
- GPU: Intel HD 630 + NVIDIA Quadro P620 (confirm which drives monitors) - Session start command: `niri --session` (do not use `niri-session`)
- GPU: Intel HD 630 + NVIDIA Quadro P620
- Display appears to be driven by NVIDIA Quadro P620 (observed `/dev/fb0` on Ubuntu scan). Treat NVIDIA as primary unless proven otherwise.
## Secrets policy ## Secrets policy
- No API keys or WiFi PSKs committed to git - No API keys or WiFi PSKs committed to git

View File

@@ -17,7 +17,7 @@ Legend:
- **niri** (primary compositor) - **niri** (primary compositor)
- **greetd + tuigreet** (display/login manager) - **greetd + tuigreet** (display/login manager)
- **xwayland** (X11 compatibility where needed) - **xwayland** (X11 compatibility where needed)
- **xdg-desktop-portal** + **xdg-desktop-portal-gtk** (portals for file pickers / screen share baseline) - **xdg-desktop-portal** + **xdg-desktop-portal-gtk** + **xdg-desktop-portal-gnome** (portals baseline; improves screencast/screen share odds)
- Clipboard: - Clipboard:
- **wl-clipboard** - **wl-clipboard**
- Screenshots (Wayland): - Screenshots (Wayland):

View File

@@ -10,8 +10,8 @@
# --- # ---
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true; autosuggestion.enable = true;
enableSyntaxHighlighting = true; syntaxHighlighting.enable = true;
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;

View File

@@ -66,6 +66,13 @@
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
# greetd runs the greeter session as this user; it must exist.
users.groups.greeter = { };
users.users.greeter = {
isSystemUser = true;
group = "greeter";
};
# --- # ---
# SSH # SSH
# --- # ---