the big gnome attrset shuffling

This commit is contained in:
Max Headroom 2024-11-08 15:59:06 +01:00
parent ca3e00545c
commit 2024e8f6e5
4 changed files with 13 additions and 21 deletions

View file

@ -29,17 +29,7 @@
commandLineArgs = "--enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter --auth-server-whitelist=*privatevoid.net"; commandLineArgs = "--enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter --auth-server-whitelist=*privatevoid.net";
}; };
gnome = super.gnome.overrideScope (self': super': { inherit (patched) gnome-control-center nautilus;
inherit (patched) nautilus;
gnome-control-center = patched.gnome-control-center;
gnome-shell = super'.gnome-shell.overrideAttrs (old: {
preFixup = old.preFixup + ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
)
'';
});
});
})) }))
]; ];
} }

View file

@ -27,14 +27,16 @@ in {
programs.adb.enable = true; programs.adb.enable = true;
environment.gnome.excludePackages = with pkgs.gnome; [ environment.gnome.excludePackages = with pkgs; [
gnome-logs gnome-logs
gnome-music gnome-music
pkgs.gnome-console gnome-console
pkgs.gnome-photos gnome-photos
pkgs.gnome-tour gnome-tour
pkgs.orca orca
pkgs.snapshot snapshot
totem
yelp
]; ];
desktop.hiddenApps = [ desktop.hiddenApps = [

View file

@ -45,8 +45,8 @@
gnome-firmware-updater gnome-firmware-updater
gnome-podcasts gnome-podcasts
dconf-editor dconf-editor
gnome.gnome-boxes gnome-boxes
gnome.gnome-sound-recorder gnome-sound-recorder
gnome-tweaks gnome-tweaks
nautilus-python nautilus-python
jellyfin-media-player jellyfin-media-player

View file

@ -9,7 +9,7 @@ super: rec {
kubo = patch super.kubo "patches/base/ipfs"; kubo = patch super.kubo "patches/base/ipfs";
gnome-control-center = super.gnome.gnome-control-center.overrideAttrs (old: { gnome-control-center = super.gnome-control-center.overrideAttrs (old: {
postPatch = (old.postPatch or "") + '' postPatch = (old.postPatch or "") + ''
echo disabling alert sound chooser echo disabling alert sound chooser
${super.xmlstarlet}/bin/xmlstarlet edit -L \ ${super.xmlstarlet}/bin/xmlstarlet edit -L \
@ -30,7 +30,7 @@ super: rec {
fprintd = super.fprintd.override { inherit libfprint; }; fprintd = super.fprintd.override { inherit libfprint; };
nautilus = (patch' super.gnome.nautilus).overrideAttrs (attrs: { nautilus = (patch' super.nautilus).overrideAttrs (attrs: {
preFixup = with super; preFixup = with super;
let py = (python3.withPackages (ps: with ps; [ ps.pygobject3 ])); let py = (python3.withPackages (ps: with ps; [ ps.pygobject3 ]));
in attrs.preFixup + '' in attrs.preFixup + ''