1
1
Fork 0
nixos-configs/flake.nix

34 lines
788 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
nixpkgs-next.url = "github:NixOS/nixpkgs/23.05";
nixos-wsl.url = "github:nix-community/NixOS-WSL";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
self,
nixpkgs,
nixpkgs-next,
nixos-wsl
}: {
nixosConfigurations = {
catacomb = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [ ./machine/catacomb ];
};
empyrean = nixpkgs-next.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./machine/empyrean ];
};
stagirite = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-wsl.nixosModules.wsl
./machine/stagirite
];
};
};
};
}