From 7d4c97155845f90e2ba200d04e4bc102d63769f8 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 31 Jul 2022 14:44:02 +0800 Subject: [PATCH] themes/a-happy-gnome: update keybindings and portal settings --- .../themes/a-happy-gnome/config/dconf/keybindings.conf | 4 ++++ modules/nixos/themes/a-happy-gnome/default.nix | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf b/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf index d3f54fbc..0436a4ec 100644 --- a/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf +++ b/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf @@ -49,3 +49,7 @@ screensaver=['Escape'] # Easy resize with the mouse. [org/gnome/desktop/wm/preferences] resize-with-right-button = true + +# The default ibus bindings. +[desktop/ibus/panel/emoji] +hotkey=['period'] diff --git a/modules/nixos/themes/a-happy-gnome/default.nix b/modules/nixos/themes/a-happy-gnome/default.nix index 85103b9b..f0190505 100644 --- a/modules/nixos/themes/a-happy-gnome/default.nix +++ b/modules/nixos/themes/a-happy-gnome/default.nix @@ -21,6 +21,13 @@ in { options.themes.themes.a-happy-gnome = { enable = lib.mkEnableOption "'A happy GNOME', foo-dogsquared's configuration of GNOME desktop environment"; + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + xdg-desktop-portal-gtk + ]; + }; shellExtensions = lib.mkOption { type = with lib.types; listOf package; @@ -68,6 +75,7 @@ in dialect # Your gateway to polyglotting. gnome-frog # Graphical OCR with Tesseract that I always wanted. gnome-solanum # Cute little matodor timers. + gnome.gnome-boxes # Virtual machines, son. shortwave # Yer' humble internet radio. ymuse # Simple MPD client. @@ -101,6 +109,8 @@ in core-utilities.enable = true; }; + services.packagekit.enable = false; + i18n.inputMethod = { enabled = "ibus"; ibus.engines = with pkgs.ibus-engines; [