dotfiles/flake.nix
Tyrel Souza b2e355f058 flake
2023-01-01 16:00:23 -05:00

25 lines
765 B
Nix

{
description = "My first nix flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-22.05-darwin";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# nix will normally use the nixpkgs defined in home-managers inputs, we only want one copy of nixpkgs though
darwin.url = "github:lnl7/nix-darwin";
darwin.inputs.nixpkgs.follows = "nixpkgs"; # ...
};
outputs = { self, nixpkgs, home-manager, darwin }: {
darwinConfiguration."ts-tl-mbp" = darwin.lib.darwinSystem {
system = "x86_64-darwin";
modules = [
home-manager.darwinModules.home-manager
./hosts/ts-tl-mbp/default.nix
]; # will be important later
};
};
}