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
44 lines
798 B
Nix
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;
|
|
}
|