33 lines
880 B
Nix
33 lines
880 B
Nix
{
|
|
description = "Brian's macOS nix-darwin configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
nix-darwin.url = "github:nix-darwin/nix-darwin";
|
|
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
|
|
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
|
|
|
|
cupsadmin = {
|
|
url = "github:kfattic/cupsadmin";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ self, nix-darwin, nixpkgs, nix-homebrew, ... }: {
|
|
darwinConfigurations."Brians-MacBook-Air" = nix-darwin.lib.darwinSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./configuration.nix
|
|
nix-homebrew.darwinModules.nix-homebrew
|
|
{
|
|
nix-homebrew = {
|
|
enable = true;
|
|
enableRosetta = true;
|
|
user = "briannelson";
|
|
autoMigrate = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
} |