flake: group up nixosConfigurations

This commit is contained in:
Antoine Martin 2021-07-14 18:05:36 +02:00
parent 573a6ea0bc
commit a79d27ff22

View file

@ -32,7 +32,10 @@
};
outputs = { self, nixpkgs, home-manager, ... } @inputs: {
nixosConfigurations.poseidon = nixpkgs.lib.nixosSystem rec {
nixosConfigurations = {
poseidon = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
./poseidon.nix
@ -71,7 +74,8 @@
}
];
};
nixosConfigurations.boreal = nixpkgs.lib.nixosSystem rec {
boreal = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
./boreal.nix
@ -109,5 +113,7 @@
}
];
};
};
};
}