1
1
Fork 0
nixos-configs/flake.nix

34 lines
788 B
Nix
Raw Normal View History

2022-11-26 18:39:04 +00:00
{
inputs = {
2023-06-09 20:29:51 +00:00
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
2023-06-09 20:42:52 +00:00
nixpkgs-next.url = "github:NixOS/nixpkgs/23.05";
nixos-wsl.url = "github:nix-community/NixOS-WSL";
2022-12-20 01:13:38 +00:00
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
2022-11-26 18:39:04 +00:00
};
2023-06-09 20:42:52 +00:00
outputs = {
self,
nixpkgs,
nixpkgs-next,
nixos-wsl
}: {
2022-12-29 03:00:25 +00:00
nixosConfigurations = {
catacomb = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [ ./machine/catacomb ];
};
2023-06-09 20:59:09 +00:00
empyrean = nixpkgs-next.lib.nixosSystem {
2022-12-29 03:00:25 +00:00
system = "x86_64-linux";
modules = [ ./machine/empyrean ];
};
stagirite = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-wsl.nixosModules.wsl
./machine/stagirite
];
};
2022-11-28 16:43:16 +00:00
};
2022-11-26 18:39:04 +00:00
};
}