fix ssh warning
This commit is contained in:
@@ -18,7 +18,7 @@ in {
|
|||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
settings = {
|
||||||
"*" = {
|
"*" = {
|
||||||
identityFile = "${home_dir}/.ssh/id_blake";
|
identityFile = "${home_dir}/.ssh/id_blake";
|
||||||
forwardAgent = false;
|
forwardAgent = false;
|
||||||
@@ -36,7 +36,7 @@ in {
|
|||||||
user = "gitea";
|
user = "gitea";
|
||||||
port = 7567;
|
port = 7567;
|
||||||
};
|
};
|
||||||
"git.snowbelle.lan" = {
|
"git.lumiose.blakedheld.xyz" = {
|
||||||
user = "gitea";
|
user = "gitea";
|
||||||
port = 7567;
|
port = 7567;
|
||||||
};
|
};
|
||||||
@@ -53,17 +53,17 @@ in {
|
|||||||
hostname = "96.126.127.102";
|
hostname = "96.126.127.102";
|
||||||
user = "blake";
|
user = "blake";
|
||||||
};
|
};
|
||||||
"lumiose" = {
|
"lumiose" = {
|
||||||
hostname = "10.10.0.11";
|
hostname = "10.10.0.11";
|
||||||
user = "blake";
|
user = "blake";
|
||||||
identityFile = "${home_dir}/.ssh/id_snowbelle";
|
identityFile = "${home_dir}/.ssh/id_snowbelle";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# manage secrets with sops
|
# manage secrets with sops
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
"id_blake" = {
|
"id_blake" = {
|
||||||
mode = "0600";
|
mode = "0600";
|
||||||
path = "${home_dir}/.ssh/id_blake";
|
path = "${home_dir}/.ssh/id_blake";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# import snowbelle specific ssh keys
|
# import snowbelle specific ssh keys
|
||||||
programs.ssh.matchBlocks = lib.mkForce {
|
programs.ssh.settings = lib.mkForce {
|
||||||
"git.blakedheld.xyz" = {
|
"git.blakedheld.xyz" = {
|
||||||
user = "gitea";
|
user = "gitea";
|
||||||
identityFile = "${home_dir}/.ssh/id_snowbelle";
|
identityFile = "${home_dir}/.ssh/id_snowbelle";
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# import snowbelle specific ssh keys
|
# import snowbelle specific ssh keys
|
||||||
programs.ssh.matchBlocks = lib.mkForce {
|
programs.ssh.settings = lib.mkForce {
|
||||||
"git.blakedheld.xyz" = {
|
"git.blakedheld.xyz" = {
|
||||||
user = "gitea";
|
user = "gitea";
|
||||||
identityFile = "${home_dir}/.ssh/id_snowbelle";
|
identityFile = "${home_dir}/.ssh/id_snowbelle";
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# import snowbelle specific ssh keys
|
# import snowbelle specific ssh keys
|
||||||
programs.ssh.matchBlocks = lib.mkForce {
|
programs.ssh.settings = lib.mkForce {
|
||||||
"git.blakedheld.xyz" = {
|
"git.blakedheld.xyz" = {
|
||||||
user = "gitea";
|
user = "gitea";
|
||||||
identityFile = "${home_dir}/.ssh/id_vaniville";
|
identityFile = "${home_dir}/.ssh/id_vaniville";
|
||||||
|
|||||||
Reference in New Issue
Block a user