📸 Fix open kitty in Nautilus, thumbnails for videos and SVGS

This commit is contained in:
2025-01-02 22:28:12 +01:00
parent a30f8f1b08
commit 8dd038fd6a
2 changed files with 7 additions and 3 deletions

View File

@ -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";
};
}

View File

@ -22,7 +22,7 @@ in
# paths it should manage.
home = {
username = username;
homeDirectory = "/home/${username}";
homeDirectory = homeDir;
sessionVariables = {
XDG_PICTURES_DIR = "${homeDir}/Pictures";