From afb62af249f863b36cd1fe9c51e30ce0e7d6aba6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 28 Jun 2022 14:06:03 +0200 Subject: ... --- hosts/sif/default.nix | 6 ++++++ user-profiles/tmux/tmux.conf | 2 ++ user-profiles/utils.nix | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index d82222d0..45f2a87c 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -587,6 +587,12 @@ in { i18n.inputMethod.enabled = "ibus"; + xdg.portal = { + enable = true; + gtkUsePortal = true; + extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; + }; + system.stateVersion = "20.03"; }; } diff --git a/user-profiles/tmux/tmux.conf b/user-profiles/tmux/tmux.conf index f9a3e11f..36dab109 100644 --- a/user-profiles/tmux/tmux.conf +++ b/user-profiles/tmux/tmux.conf @@ -10,6 +10,8 @@ set-option -g mouse on set-option -g set-clipboard on set-option -g terminal-overrides 'rxvt-uni*:XT:Ms=\E]52;%p1%s;%p2%s\007' +set-environment -g LESS " -R " + ## determine if we should enable 256-colour support if "[[ ''${TERM} =~ 256color || ''${TERM} == fbterm || ''${TERM} =~ alacritty ]]" 'set -g default-terminal tmux-256color' diff --git a/user-profiles/utils.nix b/user-profiles/utils.nix index a1d7aa62..d0d2b2c8 100644 --- a/user-profiles/utils.nix +++ b/user-profiles/utils.nix @@ -15,7 +15,7 @@ }; home.sessionVariables = { - LESSCOLORIZER = "pygmentize -O style=solarized-dark"; + LESSCOLORIZER = "pygmentize -O style=rrt"; }; home.packages = with pkgs; [ -- cgit v1.2.3