gnome: custom logo menu + dconf defaults
- Patch Logo Menu v38 to custom entries incl. Containers (DistroShelf)\n- Switch GNOME defaults to programs.dconf profile\n- Add desktop overrides for Thunar->Files and Ghostty->Terminal\n- Enable Thunar integration (gvfs/tumbler/xfconf) and add virt-manager tooling
This commit is contained in:
parent
c930b2a6bb
commit
c299acb87d
5 changed files with 134 additions and 49 deletions
|
|
@ -16,32 +16,51 @@ let
|
|||
in {
|
||||
services.displayManager.gdm.enable = true;
|
||||
services.desktopManager.gnome.enable = true;
|
||||
services.desktopManager.gnome.extraGSettingsOverridePackages = [
|
||||
pkgs.gnome-shell
|
||||
logoMenuSchemas
|
||||
];
|
||||
|
||||
# Ensure GNOME sees the compiled overrides.
|
||||
environment.profileRelativeEnvVars.XDG_DATA_DIRS = lib.mkAfter [
|
||||
"/share/gsettings-schemas/nixos-gsettings-overrides"
|
||||
];
|
||||
|
||||
services.gnome.core-developer-tools.enable = false;
|
||||
services.gnome.games.enable = false;
|
||||
|
||||
# System default GNOME Shell extensions (user can still toggle/override).
|
||||
services.desktopManager.gnome.extraGSettingsOverrides = ''
|
||||
[org/gnome/shell]
|
||||
disable-user-extensions=false
|
||||
enabled-extensions=['all-in-one-clipboard@NiffirgkcaJ.github.com','AlphabeticalAppGrid@stuarthayhurst','app-hider@lynith.dev','blur-my-shell@aunetx','caffeine@patapon.info','logomenu@aryan_k','restartto@tiagoporsch.github.io']
|
||||
programs.dconf = {
|
||||
enable = true;
|
||||
profiles.user.databases = [
|
||||
{
|
||||
settings = {
|
||||
"org/gnome/shell" = {
|
||||
disable-user-extensions = false;
|
||||
favorite-apps = [
|
||||
"thunar.desktop"
|
||||
"com.mitchellh.ghostty.desktop"
|
||||
"com.ranfdev.DistroShelf.desktop"
|
||||
"io.github.kolunmi.Bazaar.desktop"
|
||||
];
|
||||
enabled-extensions = [
|
||||
"all-in-one-clipboard@NiffirgkcaJ.github.com"
|
||||
"AlphabeticalAppGrid@stuarthayhurst"
|
||||
"app-hider@lynith.dev"
|
||||
"blur-my-shell@aunetx"
|
||||
"caffeine@patapon.info"
|
||||
"logomenu@aryan_k"
|
||||
"restartto@tiagoporsch.github.io"
|
||||
];
|
||||
};
|
||||
|
||||
[org/gnome/shell/extensions/logo-menu]
|
||||
menu-button-icon-image=51
|
||||
menu-button-terminal='ghostty'
|
||||
menu-button-system-monitor='flatpak run io.missioncenter.MissionCenter'
|
||||
menu-button-extensions-app='com.mattjakeman.ExtensionManager.desktop'
|
||||
hide-softwarecentre=true
|
||||
'';
|
||||
"org/gnome/desktop/interface" = {
|
||||
icon-theme = "Papirus-Dark";
|
||||
gtk-theme = "Adwaita-dark";
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
|
||||
"org/gnome/shell/extensions/logo-menu" = {
|
||||
menu-button-icon-image = lib.gvariant.mkInt32 51;
|
||||
menu-button-terminal = "ghostty";
|
||||
menu-button-system-monitor = "missioncenter";
|
||||
menu-button-extensions-app = "com.mattjakeman.ExtensionManager.desktop";
|
||||
hide-softwarecentre = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
environment.gnome.excludePackages = with pkgs; [
|
||||
# comment out to include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue