Skip to content

Commit 3be4049

Browse files
committed
Use mac-app-util flake input
1 parent fbb5419 commit 3be4049

3 files changed

Lines changed: 122 additions & 8 deletions

File tree

flake.lock

Lines changed: 114 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
url = "github:homebrew/homebrew-cask";
2525
flake = false;
2626
};
27+
mac-app-util.url = "github:hraban/mac-app-util";
2728
profile.url = "github:stackptr/profile";
2829
profile.inputs.nixpkgs.follows = "nixpkgs";
2930
disko.url = "github:nix-community/disko";

lib/hosts.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
homebrew-bundle,
1010
homebrew-core,
1111
homebrew-cask,
12+
mac-app-util,
1213
profile,
1314
disko,
1415
...
@@ -74,11 +75,17 @@
7475
};
7576
modules = [
7677
nix-homebrew.darwinModules.nix-homebrew
78+
mac-app-util.darwinModules.default
7779
./../modules/base.nix
7880
./../modules/darwin.nix
7981
./../hosts/${hostname}
8082
home-manager.darwinModules.home-manager
8183
baseHomeManager
84+
{
85+
home-manager.sharedModules = [
86+
mac-app-util.homeManagerModules.default
87+
];
88+
}
8289
{
8390
nix-homebrew = {
8491
enable = true;

0 commit comments

Comments
 (0)