From 517ff4223d9a2e31a75440b49fb250448a4b593b Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Mon, 9 Jun 2025 15:52:40 +0800 Subject: [PATCH] Remove home-manager configuration cannot eval in non-nixos machine --- flake/home.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/flake/home.nix b/flake/home.nix index 43024c1..a80b0c2 100644 --- a/flake/home.nix +++ b/flake/home.nix @@ -63,17 +63,12 @@ }; in { flake = { - homeConfigurations = - lib.foldr (a: b: a // b) {} ( - map (hostName: mkHomeConfig {inherit hostName;}) [ - "Tytonidae" - "Akun" - ] - ) - // mkHomeConfig { - hostName = "Cape"; - unixName = "alice"; - }; + homeConfigurations = lib.foldr (a: b: a // b) {} ( + [ + # Hostname + ] + |> map (hostName: mkHomeConfig {inherit hostName;}) + ); inherit homeModules; }; }