Skip to content
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

Get rid of <nixpkgs/nixos> import for sshd #7

Open
Atemu opened this issue Oct 22, 2024 · 0 comments
Open

Get rid of <nixpkgs/nixos> import for sshd #7

Atemu opened this issue Oct 22, 2024 · 0 comments

Comments

@Atemu
Copy link
Owner

Atemu commented Oct 22, 2024

This has obvious issues but the reason why it's used is that we need a sensible default config to run the sshd with. We need some other way to achieve that.

Perhaps sshd has sensible defaults upstream? That'd be ideal.

With import:

$ hyperfine nix-instantiate
Benchmark 1: nix-instantiate
  Time (mean ± σ):      2.289 s ±  0.104 s    [User: 1.629 s, System: 0.352 s]
  Range (min … max):    2.094 s …  2.385 s    10 runs

Import stubbed:

$ hyperfine nix-instantiate
Benchmark 1: nix-instantiate
  Time (mean ± σ):      1.507 s ±  0.070 s    [User: 1.021 s, System: 0.244 s]
  Range (min … max):    1.420 s …  1.658 s    10 runs
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

No branches or pull requests

1 participant