mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-19 02:13:06 +01:00
Jo
57d067d501
feat: WIP add "absolutesolver" system and "cyn" user *wink wink* refactor: clean up some comments and remove empty lines
41 lines
693 B
Nix
41 lines
693 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
inputs,
|
|
namespace,
|
|
config,
|
|
...
|
|
}: let
|
|
sshDir = "${config.home.homeDirectory}/.ssh";
|
|
in {
|
|
home.packages = with pkgs; [
|
|
openssh
|
|
];
|
|
|
|
programs.ssh = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
AddKeysToAgent yes
|
|
'';
|
|
|
|
matchBlocks = {
|
|
"github.com" = {
|
|
identityFile = "${sshDir}/id_ed25519";
|
|
identitiesOnly = true;
|
|
user = "git";
|
|
};
|
|
|
|
"gitlab.com" = {
|
|
identityFile = "${sshDir}/id_ed25519";
|
|
identitiesOnly = true;
|
|
user = "git";
|
|
};
|
|
|
|
"bitbucket.org" = {
|
|
identityFile = "${sshDir}/id_ed25519";
|
|
identitiesOnly = true;
|
|
user = "git";
|
|
};
|
|
};
|
|
};
|
|
}
|