ssh config

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-24 22:08:37 +02:00
parent 7127c71d1c
commit 9ec183549d
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -58,6 +58,19 @@ toplevel@{ moduleWithSystem, ... }: {
extraConfig = { color.ui = "auto"; pull.rebase = true; push.autoSetupRemote = true; }; extraConfig = { color.ui = "auto"; pull.rebase = true; push.autoSetupRemote = true; };
aliases = { a = "add ."; c = "commit"; d = "diff --cached"; p = "push"; pa = "!git remote | xargs -L1 git push --all"; }; aliases = { a = "add ."; c = "commit"; d = "diff --cached"; p = "push"; pa = "!git remote | xargs -L1 git push --all"; };
}; };
ssh = {
enable = true;
matchBlocks = {
vpsfree = {
hostname = "37.205.13.29";
user = "ivand";
};
vpsfree-root = {
hostname = "37.205.13.29";
user = "root";
};
};
};
gpg.enable = true; gpg.enable = true;
}; };
services = { gpg-agent = { enable = true; enableBashIntegration = true; enableZshIntegration = true; enableNushellIntegration = true; pinentryPackage = pkgs.pinentry-qt; }; }; services = { gpg-agent = { enable = true; enableBashIntegration = true; enableZshIntegration = true; enableNushellIntegration = true; pinentryPackage = pkgs.pinentry-qt; }; };