fix(client): simply ssh-agent config and fix for wsl
This commit is contained in:
parent
373e2dd386
commit
f213c33012
3 changed files with 22 additions and 22 deletions
|
@ -1,19 +1,23 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./common.nix
|
||||
|
||||
../programs/neovim
|
||||
../programs/rust.nix
|
||||
../programs/ssh-agent.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ffmpeg-full
|
||||
fastfetch
|
||||
lazygit
|
||||
nixd
|
||||
];
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
ffmpeg-full
|
||||
fastfetch
|
||||
lazygit
|
||||
nixd
|
||||
];
|
||||
|
||||
# fix for wsl, `prefer` does not work if your SSH_ASKPASS is empty/unset
|
||||
variables.SSH_ASKPASS_REQUIRE = if config.programs.ssh.enableAskPassword then "prefer" else "never";
|
||||
};
|
||||
|
||||
networking = {
|
||||
useNetworkd = false;
|
||||
|
@ -24,7 +28,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs = {
|
||||
nix-ld.enable = true;
|
||||
ssh.startAgent = true;
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue