config/flake.nix

33 lines
762 B
Nix
Raw Normal View History

2024-11-15 15:12:16 -08:00
{
description = "Leni Aniva's Systems";
inputs = {
nixpkgs-darwin.url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin";
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs-darwin";
};
};
outputs = inputs@{ self, nixpkgs-darwin, nix-darwin }: {
2024-12-02 19:42:24 -08:00
darwinConfigurations = {
tetrahedrite = nix-darwin.lib.darwinSystem {
modules = [
./nix-darwin/configuration.nix
{
nixpkgs.hostPlatform = "x86_64-darwin";
}
];
};
sphalerite = nix-darwin.lib.darwinSystem {
modules = [
./nix-darwin/configuration.nix
{
nixpkgs.hostPlatform = "aarch64-darwin";
}
];
};
2024-11-15 15:12:16 -08:00
};
};
}