dotfiles/_macos/flake.nix
2023-01-02 00:04:28 -05:00

27 lines
789 B
Nix

{
description = "Tyrel Nix";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-22.11-darwin";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
darwin.url = "github:lnl7/nix-darwin";
darwin.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, darwin }: {
defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin;
darwinConfigurations."ts-tl-mbp" = darwin.lib.darwinSystem {
system = "x86_64-darwin";
modules = [
home-manager.darwinModules.home-manager
../hosts/ts-tl-mbp/default.nix
../hosts/ts-tl-mbp/home-manager.nix
../hosts/ts-tl-mbp/brew.nix
../hosts/ts-tl-mbp/fonts.nix
];
};
};
}