This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
my-darwin-nix-configuration/flake.nix

24 lines
743 B
Nix
Raw Normal View History

2023-06-18 12:41:10 +00:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-23.05-darwin";
darwin.url = "github:lnl7/nix-darwin/master";
darwin.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-23.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, darwin, nixpkgs, home-manager }: {
darwinConfigurations."mbp" = darwin.lib.darwinSystem {
system = "x86_64-darwin";
modules = [
./darwin-configuration.nix
home-manager.darwinModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.tonychyi = import ./home.nix;
}
];
};
};
}