Merged
Conversation
4090d6e to
d2e12fb
Compare
We're using the openssh-server-provided binary, but we're disabling the systemd units and we're overriding its config. I was expecting the dpkg install/reconfigure process to override our setup, but turns out it's not! Great news! When running interactively, dpkg will prompt the user with the scary curse message asking the user whether or not they want to override their custom configuration pointing to the nix store. The default selection is to "no". When running non-interactively, dpkg won't override any system-manager configuration. Adding a test ensuring that.
d2e12fb to
8e116fa
Compare
jfroche
approved these changes
Apr 13, 2026
Member
Author
|
For posterity sake. I was originally planning to leverage the dpkg Seems like it won't be necessary after all. |
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.
We're using the openssh-server-provided binary, but we're disabling the systemd units and we're overriding its config.
I was expecting the dpkg install/reconfigure process to override our setup, but turns out it's not! Great news!
When running interactively, dpkg will prompt the user with the scary curse message asking the user whether or not they want to override their custom configuration pointing to the nix store. The default selection is to "no".
When running non-interactively, dpkg won't override any system-manager configuration. Adding a test ensuring that.