working Nextcloud integration in Nautilus (Files)

This commit is contained in:
Daniel Langbein 2023-09-07 17:26:11 +02:00
parent e03ca7af60
commit 2002a7bb15

View File

@ -1,20 +1,29 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
users.users.yoda = { environment.systemPackages = with pkgs; [
packages = with pkgs; [
# Nextcloud sync client # Nextcloud sync client
nextcloud-client nextcloud-client
# Python bindings for Nautilus (GNOME Files) extension API. # Python bindings for Nautilus (GNOME Files) extension API.
gnome.nautilus-python gnome.nautilus-python
]; ];
};
# environment.sessionVariables.NAUTILUS_4_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-4"; # This is not required.
#
# List of directories to be symlinked in /run/current-system/sw. #environment.sessionVariables.NAUTILUS_4_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-4";
# -> There will be a symlink at /run/current-system/sw/share/nautilus-python/extensions
#environment.pathsToLink = [ #environment.pathsToLink = [
# "/share/nautilus-python/extensions" # "/share/nautilus-python/extensions"
#]; #];
# This does not work!
# One has to install nautilus-python as system package!
#
# users.users.yoda = {
# packages = with pkgs; [
# # Nextcloud sync client
# nextcloud-client
# # Python bindings for Nautilus (GNOME Files) extension API.
# gnome.nautilus-python
# ];
# };
} }