Skip to content

Commit 493b4dd

Browse files
committed
chore(config): comment out unused gui applications
Comment out LibreScore-bin, spotify, and microsoft-excel from home-manager configurations. Remove the previously commented-out codexbar-bin. Reorder yazi spreadsheet viewer preferences to prioritize onlyoffice.
1 parent dcdba63 commit 493b4dd

File tree

4 files changed

+50
-51
lines changed

4 files changed

+50
-51
lines changed

home/gui/darwin/misc.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222
hot-bin # CPU temperature monitor for menubar
2323
menubar-dock-bin # macOS dock in menubar
2424
MultiSoundChanger-bin # aggregate-output volume control in menubar
25-
LibreScore-bin # Music notation ripper
25+
#LibreScore-bin # Music notation ripper
2626
iris # Webcam mirror
27-
#codexbar-bin # AI usage limits in menubar
2827
#LosslessSwitcher-bin # Lossless audio toggle in menubar
2928
;
3029

home/gui/music.nix

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
then pkgs.brewCasks.musescore
2525
else pkgs.musescore;
2626

27-
spotify =
28-
if hostPlatform.isDarwin
29-
then
30-
(pkgs.brewCasks.spotify.override {
31-
variation = "tahoe";
32-
}).overrideAttrs (oldAttrs: {
33-
src = pkgs.fetchurl {
34-
url = lib.lists.head oldAttrs.src.urls;
35-
hash = "sha256-a4ZKlDvQS8tIUr4B6QKLiKZvXTmzBzLIIgIXRalYC+A=";
36-
};
37-
})
38-
else pkgs.spotify;
27+
# spotify =
28+
# if hostPlatform.isDarwin
29+
# then
30+
# (pkgs.brewCasks.spotify.override {
31+
# variation = "tahoe";
32+
# }).overrideAttrs (oldAttrs: {
33+
# src = pkgs.fetchurl {
34+
# url = lib.lists.head oldAttrs.src.urls;
35+
# hash = "sha256-a4ZKlDvQS8tIUr4B6QKLiKZvXTmzBzLIIgIXRalYC+A=";
36+
# };
37+
# })
38+
# else pkgs.spotify;
3939
};
4040
}

home/gui/viewers.nix

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -67,42 +67,42 @@ in {
6767
})
6868
else pkgs.libreoffice;
6969

70-
microsoft-excel =
71-
if hostPlatform.isDarwin
72-
then
73-
pkgs.brewCasks.microsoft-excel.overrideAttrs (oldAttrs: {
74-
installPhase =
75-
oldAttrs.installPhase
76-
+ ''
77-
# Clean Resources
78-
echo "Removing entire Resources directory from microsoft-excel installation..."
79-
local resource_dir="$out/Resources"
80-
81-
if [ -d "$resource_dir" ]; then
82-
echo "Found directory '$resource_dir' and removing it..."
83-
rm -rf "$resource_dir"
84-
else
85-
echo "Warning: Resources directory '$resource_dir' not found. It may have been removed already or path is wrong." >&2
86-
fi
87-
echo "Finished cleanup (removed Resources) for microsoft-excel."
88-
89-
# Remove shared components to avoid collision with other Office apps
90-
echo "Removing shared licensing helper from microsoft-excel..."
91-
local helper_dir="$out/Library/PrivilegedHelperTools"
92-
if [ -d "$helper_dir" ]; then
93-
rm -rf "$helper_dir"
94-
echo "Removed PrivilegedHelperTools directory."
95-
fi
96-
97-
echo "Removing Microsoft AutoUpdate app from microsoft-excel..."
98-
local autoupdate_app="$out/Applications/Microsoft AutoUpdate.app"
99-
if [ -d "$autoupdate_app" ]; then
100-
rm -rf "$autoupdate_app"
101-
echo "Removed Microsoft AutoUpdate.app"
102-
fi
103-
'';
104-
})
105-
else null;
70+
# microsoft-excel =
71+
# if hostPlatform.isDarwin
72+
# then
73+
# pkgs.brewCasks.microsoft-excel.overrideAttrs (oldAttrs: {
74+
# installPhase =
75+
# oldAttrs.installPhase
76+
# + ''
77+
# # Clean Resources
78+
# echo "Removing entire Resources directory from microsoft-excel installation..."
79+
# local resource_dir="$out/Resources"
80+
#
81+
# if [ -d "$resource_dir" ]; then
82+
# echo "Found directory '$resource_dir' and removing it..."
83+
# rm -rf "$resource_dir"
84+
# else
85+
# echo "Warning: Resources directory '$resource_dir' not found. It may have been removed already or path is wrong." >&2
86+
# fi
87+
# echo "Finished cleanup (removed Resources) for microsoft-excel."
88+
#
89+
# # Remove shared components to avoid collision with other Office apps
90+
# echo "Removing shared licensing helper from microsoft-excel..."
91+
# local helper_dir="$out/Library/PrivilegedHelperTools"
92+
# if [ -d "$helper_dir" ]; then
93+
# rm -rf "$helper_dir"
94+
# echo "Removed PrivilegedHelperTools directory."
95+
# fi
96+
#
97+
# echo "Removing Microsoft AutoUpdate app from microsoft-excel..."
98+
# local autoupdate_app="$out/Applications/Microsoft AutoUpdate.app"
99+
# if [ -d "$autoupdate_app" ]; then
100+
# rm -rf "$autoupdate_app"
101+
# echo "Removed Microsoft AutoUpdate.app"
102+
# fi
103+
# '';
104+
# })
105+
# else null;
106106
}
107107
++ calibreWrappers
108108
++ sofficeWrapper;

home/tty/find/yazi/yazi.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
## Office Documents - Spreadsheets
6868
{
6969
url = "*.{xlsx,xls,ods}";
70-
use = ["excel" "libreoffice" "onlyoffice" "reveal"];
70+
use = ["onlyoffice" "libreoffice" "excel" "reveal"];
7171
}
7272
## Office Documents - Word
7373
{

0 commit comments

Comments
 (0)