Skip to content

Commit

Permalink
Disable trampolines trick for cmd+space support
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed Oct 10, 2024
1 parent b8d2f73 commit 66fe13a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions modules/home-manager/aarch64-darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
iterm2
];

# Make sure applications show up on cmd+space on macOS.
home.activation = {
copyApplications = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
src="$genProfilePath/home-path/Applications/"
dst="${config.home.homeDirectory}/Applications/Home Manager Trampolines"
mkdir -p "$dst"
${pkgs.rsync}/bin/rsync --archive --checksum --copy-unsafe-links --delete "$src" "$dst"
chmod -R 755 "$dst"
'';
};
# TODO Make sure applications show up on cmd+space on macOS.
# home.activation = {
# copyApplications = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
# src="$genProfilePath/home-path/Applications/"
# dst="${config.home.homeDirectory}/Applications/Home Manager Trampolines"
# mkdir -p "$dst"
# ${pkgs.rsync}/bin/rsync --archive --checksum --copy-unsafe-links --delete "$src" "$dst"
# chmod -R 755 "$dst"
# '';
# };
}

0 comments on commit 66fe13a

Please sign in to comment.