11 lines
239 B
Nix
11 lines
239 B
Nix
{lib, ...}: let
|
|
local = import ./_lib/local.nix;
|
|
in
|
|
lib.foldl' lib.recursiveUpdate {} (
|
|
lib.mapAttrsToList (
|
|
host: hostMeta:
|
|
lib.setAttrByPath ["den" "hosts" hostMeta.system host "users" local.user.name] {}
|
|
)
|
|
local.hosts
|
|
)
|