flake/configs/client.nix
uku be8b283139
fix(client): disable ssh-askpass on wsl
the curses askpass is cool but it just. doesn't work well, especially
when there are multiple tabs open in windows terminal which completely
breaks it beyond belief. so yeah, bye bye
2025-01-27 20:27:15 +01:00

44 lines
798 B
Nix

{
lib,
pkgs,
config,
...
}:
{
imports = [
./common.nix
../programs/neovim
../programs/rust.nix
];
boot.kernelPackages = pkgs.linuxPackages; # lts
environment = {
systemPackages = with pkgs; [
ffmpeg-full
fastfetch
lazygit
nixd
];
# disable ssh-askpass on wsl namely, to simply have a normal prompt that reads from stdin
variables.SSH_ASKPASS_REQUIRE = if config.programs.ssh.enableAskPassword then "prefer" else "never";
};
networking = {
useNetworkd = false;
networkmanager = {
enable = true;
dns = "systemd-resolved";
plugins = [ pkgs.networkmanager-fortisslvpn ];
};
};
programs = {
nix-ld.enable = true;
ssh.startAgent = true;
};
virtualisation.docker.enable = true;
}