Remove ssh.nix and ignore ssh.nix
This commit is contained in:
parent
65e2d529a2
commit
9a6103d211
2 changed files with 1 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
ssh.nix
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.ssh-agent.enable = true;
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/ssh-agent";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.ssh = {
|
|
||||||
enable = true;
|
|
||||||
enableDefaultConfig = false;
|
|
||||||
matchBlocks = {
|
|
||||||
"*" = {
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
include ./ssh-hosts.nix
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue