2023-04-12 13:18:03 +01:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ../common.nix ];
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
includes = [ "config.d/*" ];
|
|
|
|
forwardAgent = true;
|
|
|
|
serverAliveInterval = 15;
|
|
|
|
serverAliveCountMax = 3;
|
|
|
|
controlMaster = "auto";
|
|
|
|
controlPersist = "5s";
|
|
|
|
};
|
|
|
|
programs.keychain = {
|
|
|
|
enable = true;
|
|
|
|
enableBashIntegration = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
enableXsessionIntegration = true;
|
|
|
|
extraFlags = [
|
|
|
|
"--quiet"
|
|
|
|
"--ignore-missing"
|
|
|
|
];
|
|
|
|
keys = [
|
|
|
|
"id_rsa"
|
|
|
|
"id_ed25519"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Evie Litherland-Smith";
|
|
|
|
delta.enable = true;
|
|
|
|
extraConfig = {
|
|
|
|
pull = {
|
|
|
|
rebase = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-04-13 13:43:44 +01:00
|
|
|
xdg.configFile."starship.toml".source = ./config/starship.toml;
|
2023-04-12 13:18:03 +01:00
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
enableBashIntegration = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
};
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
#enableBashIntegration = true;
|
|
|
|
#enableZshIntegration = true;
|
|
|
|
#enableFishIntegration = true;
|
|
|
|
};
|
|
|
|
}
|