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:
randogoth 2026-02-03 22:02:35 +02:00
parent c930b2a6bb
commit c299acb87d
5 changed files with 134 additions and 49 deletions

View file

@ -47,7 +47,11 @@
];
};
services.openssh.enable = true;
services = {
openssh.enable = true;
gvfs.enable = true;
tumbler.enable = true;
};
networking = {
useDHCP = lib.mkDefault true;
@ -62,7 +66,17 @@
enableBashIntegration = lib.mkDefault true;
};
nix-index-database.comma.enable = lib.mkDefault true;
thunar = {
enable = true;
plugins = [
pkgs.xfce.thunar-archive-plugin
pkgs.xfce.thunar-media-tags-plugin
pkgs.xfce.thunar-vcs-plugin
pkgs.xfce.thunar-volman
];
};
virt-manager.enable = true;
xfconf.enable = true;
};
# Optimise the Nix store once a day

View file

@ -1,8 +1,39 @@
{ lib, pkgs, ... }:
{
let
# Override Thunar desktop entry to show as "Files".
thunarDesktopOverride = pkgs.makeDesktopItem {
name = "thunar"; # same filename to shadow upstream entry
desktopName = "Files";
genericName = "File Manager";
tryExec = "thunar";
exec = "thunar %U";
icon = "org.xfce.thunar";
categories = [ "Utility" "FileManager" ];
mimeTypes = [ "inode/directory" ];
keywords = [ "folder" "manager" "explorer" "files" ];
startupNotify = true;
startupWMClass = "Thunar";
terminal = false;
comment = "Browse files";
};
# Override Ghostty desktop entry to show as "Terminal".
ghosttyDesktopOverride = pkgs.makeDesktopItem {
name = "com.mitchellh.ghostty";
desktopName = "Terminal";
genericName = "Terminal Emulator";
exec = "ghostty";
icon = "com.mitchellh.ghostty";
categories = [ "System" "TerminalEmulator" "Utility" ];
terminal = false;
comment = "Fast GPU-accelerated terminal";
};
in {
# Baseline system tools available everywhere; users run Home Manager standalone.
config.environment.systemPackages = lib.mkAfter [
(lib.hiPrio thunarDesktopOverride)
(lib.hiPrio ghosttyDesktopOverride)
pkgs.distrobox
pkgs.distroshelf
pkgs.dnsmasq
@ -35,6 +66,9 @@
pkgs.libnotify
pkgs.micro
pkgs.mission-center
pkgs.p7zip
pkgs.podman-compose
pkgs.papirus-icon-theme
pkgs.xdg-utils
];
}