Add ssh conf & gpg&ssh agent
Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
parent
5e109279ab
commit
81f099c52b
1 changed files with 37 additions and 0 deletions
37
home.nix
37
home.nix
|
@ -51,6 +51,43 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
matchBlocks = {
|
||||
"he3" = {
|
||||
host = "he3";
|
||||
hostname = "he3.vault81.de";
|
||||
user = "root";
|
||||
identityFile = "~/.ssh/id_hetz_ed25519";
|
||||
};
|
||||
"he2" = {
|
||||
host = "he2";
|
||||
hostname = "he2.vault81.de";
|
||||
user = "root";
|
||||
identityFile = "~/.ssh/id_v81_ed25519";
|
||||
};
|
||||
"desk-arch" = {
|
||||
host = "desk-arch";
|
||||
hostname = "tristan-desk-arch";
|
||||
user = "tristand";
|
||||
identityFile = "~/.ssh/id_v81_ed25519";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
|
||||
enableExtraSocket = true;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
alejandra
|
||||
atool
|
||||
|
|
Loading…
Add table
Reference in a new issue