-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh: install an ssh client #3668
Conversation
2412aca
to
b65cf8c
Compare
54e27a8
to
4487280
Compare
4487280
to
6702b22
Compare
Thanks! Merged to master now. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Is there an easy way to turn this off? I want to use the version provided by Apple that provides integration with the macOS keychain. I tried setting For now I'm using {
programs.ssh = {
package = pkgs.runCommand "home-manager-3668" {} ''
mkdir $out
'';
};
} |
There should be, and I think we shouldn't merge this until there is. See also #3375 |
I think using |
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example.
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example.
Personally, I think this should just be reverted. SSH is usually installed at the system level, not the user level. And if I, as a user, want to use a different SSH client, I can just add it to The |
Suggesting a middle ground: #4016 |
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example. (cherry picked from commit 4a56b26)
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example.
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example.
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example. (cherry picked from commit 4a56b26)
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example. (cherry picked from commit 4a56b26)
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example. (cherry picked from commit 4a56b26)
It is sometimes useful to allow setting a package option to `null` to skip installing the package. See nix-community/home-manager#3668 (comment) for example. (cherry picked from commit 4a56b26)
Fixes: #3667
Description
Add
programs.ssh.package
option and install the ssh client. It's not clear to me if this change is backwards-compatible or not, but at least we have something concrete to look at now.Checklist
Change is backwards compatible.
Code formatted with
./format
.Code tested through
nix-shell --pure tests -A run.all
.Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
Added myself as module maintainer. See example.
Added myself and the module files to
.github/CODEOWNERS
.