Update smart-ssh config and improve logging output
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 13s
Nix Format Check / check-format (push) Failing after 24s
Python Lint Check / check-python (push) Failing after 7s

This commit is contained in:
2025-07-31 13:42:13 +02:00
parent 6eb58e2c87
commit e274ae7ae1
4 changed files with 23 additions and 15 deletions

View File

@@ -10,12 +10,17 @@ logging:
format: "console"
smart_aliases:
# Desktop connection - tries local network first, falls back to Tailscale
desktop:
primary: "desktop-local" # Use this SSH config entry when local network is available
fallback: "desktop" # Use this SSH config entry when local network is not available
check_host: "192.168.86.22" # IP address to ping for connectivity test
timeout: "2s" # Timeout for connectivity check
primary: "desktop-local"
fallback: "desktop"
check_host: "192.168.1.254"
timeout: "2s"
laptop:
primary: "laptop-local"
fallback: "laptop"
check_host: "192.168.1.253"
timeout: "2s"
# Background SSH Tunnel Definitions
tunnels:

View File

@@ -836,7 +836,10 @@ func initLogging(cfg LoggingConfig) {
}
if strings.ToLower(cfg.Format) == "console" {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
log.Logger = log.Output(zerolog.ConsoleWriter{
Out: os.Stderr,
TimeFormat: "15:04:05",
})
} else {
log.Logger = log.Output(os.Stderr)
}

0
config/autostart/io.github.mrvladus.List.desktop Normal file → Executable file
View File

View File

@@ -25,11 +25,11 @@
]
},
"locked": {
"lastModified": 1753288231,
"narHash": "sha256-WcMW9yUDfER8kz4NdCaaI/ep0Ef91L+Nf7MetNzHZc4=",
"lastModified": 1753592768,
"narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7b5a978e00273b8676c530c03d315f5b75fae564",
"rev": "fc3add429f21450359369af74c2375cb34a2d204",
"type": "github"
},
"original": {
@@ -41,11 +41,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1753345091,
"narHash": "sha256-CdX2Rtvp5I8HGu9swBmYuq+ILwRxpXdJwlpg8jvN4tU=",
"lastModified": 1753749649,
"narHash": "sha256-+jkEZxs7bfOKfBIk430K+tK9IvXlwzqQQnppC2ZKFj4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3ff0e34b1383648053bba8ed03f201d3466f90c9",
"rev": "1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a",
"type": "github"
},
"original": {
@@ -57,11 +57,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1753250450,
"narHash": "sha256-i+CQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s=",
"lastModified": 1753694789,
"narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "fc02ee70efb805d3b2865908a13ddd4474557ecf",
"rev": "dc9637876d0dcc8c9e5e22986b857632effeb727",
"type": "github"
},
"original": {