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:
@@ -38,11 +38,10 @@
|
||||
};
|
||||
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
${builtins.elemAt hosts 0} = makeSystem {
|
||||
hostname = builtins.elemAt hosts 0;
|
||||
};
|
||||
};
|
||||
nixosConfigurations = nixpkgs.lib.foldl' (configs: hostname:
|
||||
configs // {
|
||||
"${hostname}" = makeSystem { inherit hostname; };
|
||||
}) {} hosts;
|
||||
|
||||
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
Reference in New Issue
Block a user