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:
parent
b2afb4e529
commit
00befc0530
@ -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 = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user