1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

HOME SSH added missiing function

This commit is contained in:
Stefan Ellmauthaler 2021-11-27 13:14:50 +01:00
parent b2afb4e529
commit 00befc0530

View File

@ -1,4 +1,14 @@
{ config, pkgs, lib, ...}: { config, pkgs, lib, ...}:
let
withAliases = hostname: aliases: cfg:
lib.recursiveUpdate
{
host = "${hostname} ${aliases}";
hostname = "${hostname}";
extraOptions.hostKeyAlias = "${hostname}";
}
cfg;
in
{ {
imports = [ imports = [