summaryrefslogtreecommitdiff
path: root/hostnix/mojo/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/mojo/flake.nix')
-rw-r--r--hostnix/mojo/flake.nix18
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 ];
};
};
}