mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-25 10:52:03 +01:00
21 lines
328 B
Nix
21 lines
328 B
Nix
{
|
|
myvars,
|
|
lib,
|
|
outputs,
|
|
}: let
|
|
username = myvars.username;
|
|
hosts = [
|
|
"ai-hyprland"
|
|
"ai-i3"
|
|
"shoukei-hyprland"
|
|
"shoukei-i3"
|
|
"ruby"
|
|
"k3s-prod-1-master-1"
|
|
];
|
|
in
|
|
lib.genAttrs
|
|
hosts
|
|
(
|
|
name: outputs.nixosConfigurations.${name}.config.home-manager.users.${username}.home.homeDirectory
|
|
)
|