nautilus: add open-any-terminal extension
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
e9e6d9e793
commit
ad40e72fbd
1 changed files with 13 additions and 8 deletions
|
@ -10,16 +10,21 @@ in {
|
|||
options.custom.programs.nautilus.enable = mkOption {default = false;};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.gvfs.enable = true; # Trash dependency
|
||||
|
||||
# Fix nautilus extension environment
|
||||
# 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
|
||||
services = {
|
||||
gnome.sushi.enable = true; # Quick preview with spacebar
|
||||
gvfs.enable = true; # Trash dependency
|
||||
};
|
||||
|
||||
# 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; [
|
||||
nautilus
|
||||
nautilus-open-in-blackbox
|
||||
|
|
Loading…
Reference in a new issue