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 {
|
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};
|
||||||
|
Reference in New Issue
Block a user