Skip to content

fix(profiles): make server mode actually boot clean headless - #3

Open
sakost wants to merge 1 commit into
masterfrom
feat/server-mode
Open

fix(profiles): make server mode actually boot clean headless#3
sakost wants to merge 1 commit into
masterfrom
feat/server-mode

Conversation

@sakost

@sakost sakost commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Two units failed on the first real switch to sakost-server (found live, root-caused on the box):

  • display-manager crash-loop: modules/hardware/nvidia.nix enables services.xserver; with greetd disabled, nixpkgs silently falls back to lightdm, which can't start headless and hits its start-limit. Fixed by forcing services.xserver.enable = false in the profile — videoDrivers stays set, so the NVIDIA driver and CUDA are unaffected (verified nvidia-smi present in the built closure, display-manager.service gone).
  • home-manager-sakost failure: the dconfSettings activation step needs the dconf D-Bus service that only the desktop stack provides; headless it fails with "The name is not activatable". Fixed by disabling HM dconf in server mode.

Both outputs build; desktop closure unaffected.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HniCK49eWcvQCieLZbjdde

… mode

Two units failed on the first real switch to sakost-server:
- nvidia.nix enables services.xserver; with greetd disabled nixpkgs
  falls back to lightdm, which crash-loops headless (start-limit-hit).
  Force xserver off — videoDrivers stays set, so the nvidia driver and
  CUDA are unaffected.
- home-manager's dconfSettings activation needs the dconf D-Bus service
  that only the desktop stack provides; headless it failed the whole
  home-manager-sakost unit. Disable HM dconf in server mode.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HniCK49eWcvQCieLZbjdde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant