keychain is cool but is first of all unmaintained, and only really works in the context of a shell. since it "dynamically" starts agents and exports variables (with set -U to make matters worse), nothing exists outside of the context of the shell which makes it impossible to sign commits in gui apps (except vscode for some reason); using a classical ssh-agent with the env var exported by hand simply works
30 lines
493 B
Nix
30 lines
493 B
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./common.nix
|
|
|
|
../programs/neovim
|
|
../programs/rust.nix
|
|
../programs/ssh-agent.nix
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
ffmpeg-full
|
|
fastfetch
|
|
lazygit
|
|
nixd
|
|
];
|
|
|
|
networking = {
|
|
useNetworkd = false;
|
|
networkmanager = {
|
|
enable = true;
|
|
dns = "systemd-resolved";
|
|
plugins = [ pkgs.networkmanager-fortisslvpn ];
|
|
};
|
|
};
|
|
|
|
programs.nix-ld.enable = true;
|
|
|
|
virtualisation.docker.enable = true;
|
|
}
|