add gnome extensions

This commit is contained in:
Yan Lin 2025-11-20 15:44:33 +01:00
parent 1f47e0e27d
commit 351533110f

View file

@ -48,6 +48,8 @@ in
enabled-extensions = enabled-extensions =
(lib.optionals (!cfg.alwaysShowTopBar) [ "hidetopbar@mathieu.bidon.ca" ]) (lib.optionals (!cfg.alwaysShowTopBar) [ "hidetopbar@mathieu.bidon.ca" ])
++ [ ++ [
"pano@elhan.io"
"rounded-window-corners@fxgn"
]; ];
favorite-apps = [ favorite-apps = [
"org.gnome.Nautilus.desktop" "org.gnome.Nautilus.desktop"
@ -66,6 +68,14 @@ in
mouse-sensitive-fullscreen-window = false; mouse-sensitive-fullscreen-window = false;
}; };
# Pano clipboard manager extension configuration
"org/gnome/shell/extensions/pano" = {
# Keybinding to open clipboard panel
global-shortcut = [ "<Super>c" ];
# Keep 100 items in clipboard history
history-length = mkUint32 100;
};
# Nautilus (GNOME Files) configuration # Nautilus (GNOME Files) configuration
"org/gnome/nautilus/preferences" = { "org/gnome/nautilus/preferences" = {
show-hidden-files = true; show-hidden-files = true;
@ -161,7 +171,10 @@ in
# GNOME Shell extensions and Qt theming packages # GNOME Shell extensions and Qt theming packages
home.packages = with pkgs; home.packages = with pkgs;
(lib.optionals (!cfg.alwaysShowTopBar) [ gnomeExtensions.hide-top-bar ]) (lib.optionals (!cfg.alwaysShowTopBar) [ gnomeExtensions.hide-top-bar ])
++ [ ]; ++ [
gnomeExtensions.pano
gnomeExtensions.rounded-window-corners
];
# Custom desktop file for opening text files with Neovim in Ghostty # Custom desktop file for opening text files with Neovim in Ghostty
home.file.".local/share/applications/nvim-ghostty.desktop".text = '' home.file.".local/share/applications/nvim-ghostty.desktop".text = ''