Adding mac-app-util to make apps spotlight findalbe

This commit is contained in:
Olaf
2025-06-03 10:15:10 +02:00
parent da81594cdd
commit 9d1b7596b1
2 changed files with 47 additions and 1 deletions

View File

@ -40,6 +40,9 @@
nix-vscode-extensions = {
url = "github:nix-community/nix-vscode-extensions";
};
mac-app-util = {
url = "github:hraban/mac-app-util";
};
};
outputs =
{
@ -55,7 +58,7 @@
nixd,
sops-nix,
nix-vscode-extensions,
mac-app-util,
}@inputs:
let
user = "olaf";
@ -134,6 +137,7 @@
# sops-nix.nixosModules.sops
home-manager.darwinModules.home-manager
nix-homebrew.darwinModules.nix-homebrew
mac-app-util.darwinModules.default
{
nix-homebrew = {
inherit user;
@ -146,6 +150,9 @@
mutableTaps = false;
autoMigrate = true;
};
home-manager.sharedModules = [
mac-app-util.homeManagerModules.default
];
}
./hosts/darwin
];

View File

@ -0,0 +1,39 @@
(vscode-with-extensions.override {
vscodeExtensions =
with vscode-extensions;
[
#bbenoist.nix
jnoortheen.nix-ide
ms-python.python
ms-azuretools.vscode-docker
# ms-vscode-remote.remote-ssh
# ms-vscode.cpptools
eamodio.gitlens
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# {
# name = "remote-ssh-edit";
# publisher = "ms-vscode-remote";
# version = "0.47.2";
# sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
# }
{
name = "cpptools";
publisher = "ms-vscode";
version = "1.26.1";
sha256 = "sha256-uVE7sEO8XN3ArFpElUw25/BKyCOzF1EmZ5nHBkdoL/0=";
}
# {
# name = "minifyall";
# publisher = "josee9988";
# version = "2.10";
# }
{
name = "platformio-ide";
publisher = "platformio";
version = "3.3.4";
sha256 = "sha256-qfNz4IYjCmCMFLtAkbGTW5xnsVT8iDnFWjrgkmr2Slk=";
}
];
})