1
1
Fork 0

nautilus: add open-any-terminal extension

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-20 09:10:49 -05:00
parent e9e6d9e793
commit ad40e72fbd
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -10,16 +10,21 @@ in {
options.custom.programs.nautilus.enable = mkOption {default = false;}; options.custom.programs.nautilus.enable = mkOption {default = false;};
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.gvfs.enable = true; # Trash dependency services = {
gnome.sushi.enable = true; # Quick preview with spacebar
# Fix nautilus extension environment gvfs.enable = true; # Trash dependency
# https://github.com/NixOS/nixpkgs/pull/240780
#?? echo $NAUTILUS_4_EXTENSION_DIR
services.gnome = {
core-utilities.enable = true; # Required to set environment variables
sushi.enable = true; # Quick preview with spacebar
}; };
# Alternative fix to services.gnome.core-utilities.enable
# https://github.com/NixOS/nixpkgs/pull/240780
#?? echo $NAUTILUS_4_EXTENSION_DIR
programs.nautilus-open-any-terminal = {
enable = true;
terminal = "kitty";
};
# TODO: Use module when completed
# https://github.com/NixOS/nixpkgs/pull/319535
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nautilus nautilus
nautilus-open-in-blackbox nautilus-open-in-blackbox