From b8aee9249899b6899e05f07ca5291bd669f5bbd5 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sat, 13 Jan 2024 22:12:07 +0100 Subject: [PATCH] gnome-terminal nautilus integration --- modules/gnome-terminal.nix | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/modules/gnome-terminal.nix b/modules/gnome-terminal.nix index f7e7b5d..59de5f0 100644 --- a/modules/gnome-terminal.nix +++ b/modules/gnome-terminal.nix @@ -1,12 +1,23 @@ { config, pkgs, ... }: { -# users.users.yoda = { -# packages = with pkgs; [ -# gnome.gnome-terminal -# ]; -# }; + users.users.yoda = { + packages = with pkgs; [ + #gnome.gnome-terminal # Terminal emulator + nautilus-open-any-terminal # For Nautilus (GNOME files) integration + ]; + }; + + # For Nautilus (GNOME files) integration + programs.dconf.enable = true; home-manager.users.yoda = { osConfig, config, pkgs, ... }: { + dconf.settings = { + # For Nautilus (GNOME files) integration + "com/github/stunkymonkey/nautilus-open-any-terminal" = { + terminal = "gnome-terminal"; + }; + }; + programs.gnome-terminal.enable = true; programs.gnome-terminal.profile."74b90a31-5123-4a64-91a3-3cb31eb5cdb6" = { default = true;