fix(profiles): make server mode actually boot clean headless - #3
Open
sakost wants to merge 1 commit into
Open
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two units failed on the first real switch to
sakost-server(found live, root-caused on the box):modules/hardware/nvidia.nixenablesservices.xserver; with greetd disabled, nixpkgs silently falls back to lightdm, which can't start headless and hits its start-limit. Fixed by forcingservices.xserver.enable = falsein the profile —videoDriversstays set, so the NVIDIA driver and CUDA are unaffected (verifiednvidia-smipresent in the built closure,display-manager.servicegone).dconfSettingsactivation 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