dotfiles/flake.nix
Tyrel Souza f55323d926 fix
2023-01-01 16:04:01 -05:00

23 lines
789 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 }: {
darwinConfigurations."ts-tl-mbp" = darwin.lib.darwinSystem {
# you can have multiple darwinConfigurations per flake, one per hostname
system = "x86_64-darwin";
modules = [ home-manager.darwinModules.home-manager ./hosts/ts-tl-mbp/default.nix ]; # will be important later
};
};
}