dotfiles/flake.nix

21 lines
710 B
Nix
Raw Normal View History

2023-01-01 20:49:20 +00:00
{
2023-01-01 21:17:28 +00:00
description = "Tyrel Nix";
2023-01-01 20:49:20 +00:00
2023-01-01 21:04:01 +00:00
inputs = {
2023-01-02 00:27:11 +00:00
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";
2023-01-01 21:04:01 +00:00
};
outputs = { self, nixpkgs, home-manager, darwin }: {
darwinConfigurations."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
2023-01-01 20:49:20 +00:00
};
2023-01-01 21:04:01 +00:00
};
2023-01-01 21:00:23 +00:00
2023-01-01 20:49:20 +00:00
}