diff options
| author | Joe Mou <dev@mou.fo> | 2026-04-13 11:49:29 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-04-13 12:16:04 -0400 |
| commit | 35275b3122128c3373b66d975fe0ab012e129d95 (patch) | |
| tree | 6b76441d4e93e73bfb4f64587a160c62f6f3ca57 /hostnix/mojo/flake.nix | |
| parent | bae2f240904d8fda15dce8e8c9cd666734792576 (diff) | |
Homebrew with a few initial mas (App Store) apps
Diffstat (limited to 'hostnix/mojo/flake.nix')
| -rw-r--r-- | hostnix/mojo/flake.nix | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/hostnix/mojo/flake.nix b/hostnix/mojo/flake.nix index 913d702..87e3c8d 100644 --- a/hostnix/mojo/flake.nix +++ b/hostnix/mojo/flake.nix @@ -25,6 +25,8 @@ nix.settings.experimental-features = "nix-command flakes"; + system.primaryUser = "joe"; + # Set Git commit hash for darwin-version. system.configurationRevision = self.rev or self.dirtyRev or null; @@ -37,10 +39,24 @@ nixpkgs.config.allowUnfree = true; }; + + apps = { pkgs, ... }: { + homebrew = { + enable = true; + onActivation.cleanup = "uninstall"; + brews = [ "mas" ]; + casks = [ "linearmouse" ]; + masApps = { + "Kagi for Safari" = 1622835804; + "KeePassium (KeePass passwords)" = 1435127111; + Xcode = 497799835; + }; + }; + }; in { darwinConfigurations.mojo = nix-darwin.lib.darwinSystem { - modules = [ configuration ]; + modules = [ configuration apps ]; }; }; } |
