test(ookphone): ssh setup for phone

This commit is contained in:
ooks-io 2024-04-22 20:41:52 +12:00
parent 8291537e44
commit 498bbbd36f
2 changed files with 16 additions and 37 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
{
@ -26,7 +26,16 @@
openssh
];
programs = {
ssh.enable = true;
ssh = {
enable = true;
matchBlocks = {
"ooksdesk" = {
host = 192.168.1.201;
user = "ooks";
identityFile = "~/.ssh/id_ed25519";
};
};
};
git = {
enable = true;
package = pkgs.gitAndTools.gitFull;