Skip to content

fix(amd): quote KRdp service name so it is one systemd unit - #701

Merged
dezren39 merged 1 commit into
mainfrom
fix/krdp-service-name-quoting
Oct 24, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/krdp-service-name-quoting

Conversation

@dezren39

@dezren39 dezren39 commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #699. The first switch attempt on amd failed during evaluation:

error: A definition for option `home-manager.users.user.systemd.user.services.app-org.kde.krdpserver' is not of type `boolean or signed integer or string or absolute path or list of (...)'.

Root cause: unquoted, systemd.user.services.app-org.kde.krdpserver parses as nested attrsets — a service named app-org containing a section kde containing a key krdpserver whose attrset value violates the systemd leaf-value type. Verified with attrNames on the amd home-manager user services: before, the list contained the bogus key app-org; with the name quoted it contains the single key app-org.kde.krdpserver.

One-line fix. nixfmt clean. Full switch on amd is the end-to-end verification.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the KDE remote desktop server service configuration so its identifier is handled as one complete entry, rather than being interpreted as multiple nested entries. This allows the service configuration to be applied correctly. No new controls or changes to how users connect to remote desktops are included in this release.

Unquoted, systemd.user.services.app-org.kde.krdpserver parses as nested
attrsets (service app-org -> section kde -> key krdpserver), which fails
the home-manager systemd value type check and broke nixos-rebuild switch
on amd: a definition for option
home-manager.users.user.systemd.user.services.app-org.kde.krdpserver is
not of type boolean or signed integer or string or absolute path...

Verified: attrNames of the amd HM user services now lists the single key
"app-org.kde.krdpserver" instead of the bogus "app-org".
@dezren39
dezren39 requested a review from a team as a code owner October 24, 2026 00:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T00:05:21.119973Z bfe44fe PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: defee9bd-1e78-4333-a8b6-058a1ef71ee5
📥 Commits

Reviewing files that changed from the base of the PR and between 1b0c62f and bfe44fe.

📒 Files selected for processing: 1
  • nixos/hosts/amd-krdp.nix
+------------------------------------------+
| Duck and cover! I'm reviewing your code. |
+------------------------------------------+
  \
   \     /)/)
        ( '')
        /  |
      o(___)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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