1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

this is genious

This commit is contained in:
andrey_varnavskiy
2024-11-29 20:42:28 +05:00
parent 9a2a1d0599
commit 07192181da

View File

@@ -38,11 +38,10 @@
}; };
in { in {
nixosConfigurations = { nixosConfigurations = nixpkgs.lib.foldl' (configs: hostname:
${builtins.elemAt hosts 0} = makeSystem { configs // {
hostname = builtins.elemAt hosts 0; "${hostname}" = makeSystem { inherit hostname; };
}; }) {} hosts;
};
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration { homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};