From 8dd038fd6a539ac1be2a7a87e5ae1d2275611060 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Thu, 2 Jan 2025 22:28:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=B8=20Fix=20open=20kitty=20in=20Nautil?= =?UTF-8?q?us,=20thumbnails=20for=20videos=20and=20SVGS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gnome/nautilus.nix | 8 ++++++-- home/default.nix | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gnome/nautilus.nix b/gnome/nautilus.nix index 3cc81b4..bc4ee54 100644 --- a/gnome/nautilus.nix +++ b/gnome/nautilus.nix @@ -1,9 +1,13 @@ { pkgs, ... }: -# TODO file-preview for videos, svgs and other types + { environment.systemPackages = with pkgs; [ nautilus + ffmpegthumbnailer ]; - programs.nautilus-open-any-terminal.enable = true; + programs.nautilus-open-any-terminal = { + enable = true; + terminal = "kitty"; + }; } diff --git a/home/default.nix b/home/default.nix index 2d43ab1..5d26d24 100644 --- a/home/default.nix +++ b/home/default.nix @@ -22,7 +22,7 @@ in # paths it should manage. home = { username = username; - homeDirectory = "/home/${username}"; + homeDirectory = homeDir; sessionVariables = { XDG_PICTURES_DIR = "${homeDir}/Pictures";