formatting

This commit is contained in:
Osman Faruk Bayram 2025-02-25 19:34:07 +03:00
parent de825eb4dc
commit e5357f7099
4 changed files with 21 additions and 22 deletions

View file

@ -1,11 +1,11 @@
{...}:
let
{...}: let
# define a block that just takes a hostname and returns attrset to not repeat the same fields
sshBlock = hostname: {
hostname = hostname;
user = "osbm";
identityFile = "/home/osbm/.ssh/id_ed25519";
extraOptions = { # [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb).
extraOptions = {
# [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb).
"RemoteCommand" = "fish";
"RequestTTY" = "force";
};
@ -18,8 +18,7 @@ let
port = 8022;
# fish not found error ???
};
in
{
in {
programs.ssh = {
enable = true;
hashKnownHosts = true;