Fix configuration and single ssh
This commit is contained in:
parent
292789652e
commit
488e44541b
2 changed files with 2 additions and 42 deletions
|
|
@ -3,47 +3,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
compression = true;
|
compression = true;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"gitlab.com" = {
|
"*" = { identityFile = "~/.ssh/id_ed25519"; };
|
||||||
hostname = "gitlab.com";
|
|
||||||
identityFile = "~/.ssh/gitlab";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"github.com" = {
|
|
||||||
hostname = "github.com";
|
|
||||||
identityFile = "~/.ssh/github";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"bitbucket.com" = {
|
|
||||||
hostname = "bitbucket.com";
|
|
||||||
identityFile = "~/.ssh/bitbucket";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"aur.archlinux.org" = {
|
|
||||||
hostname = "aur.archlinux.org";
|
|
||||||
identityFile = "~/.ssh/aur";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"heroku.com" = {
|
|
||||||
hostname = "heroku.com";
|
|
||||||
identityFile = "~/.ssh/heroku";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"ngrok.io" = {
|
|
||||||
hostname = "ngrok.io";
|
|
||||||
identityFile = "~/.ssh/local";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"*.local 172.27.108.*" = {
|
|
||||||
identityFile = "~/.ssh/local";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"*.moon-cloud.eu moon-cloud.eu 172.20.28.*" = {
|
|
||||||
identityFile = "~/.ssh/moon-cloud";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
"*" = {
|
|
||||||
identityFile = "~/.ssh/id_ed25519";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<nixos-hardware/common/cpu/amd>
|
<nixos-hardware/common/cpu/amd>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue