From 2cb56b413ce6d733132a4630d6bc7b81fd408a0e Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 31 Aug 2023 13:23:25 +0200 Subject: [PATCH] refactor Nextcloud --- yodaTab/configuration.nix | 2 +- yodaTab/nextcloud-integration.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 yodaTab/nextcloud-integration.nix diff --git a/yodaTab/configuration.nix b/yodaTab/configuration.nix index 6babef0..8e3bb51 100644 --- a/yodaTab/configuration.nix +++ b/yodaTab/configuration.nix @@ -12,6 +12,7 @@ ./print-and-scan.nix ./nitrokey-ssh-gpg.nix ./ssh-unlock.nix + ./nextcloud-integration.nix ]; # Bootloader. @@ -132,7 +133,6 @@ keepassxc # Password manager freetube # YouTube client veracrypt # Encrypted filesystem - nextcloud-client # Nextcloud sync client joplin-desktop # Markdown notes rnote # Handwritten notes xournalpp # Handwritte notes diff --git a/yodaTab/nextcloud-integration.nix b/yodaTab/nextcloud-integration.nix new file mode 100644 index 0000000..d6a7fba --- /dev/null +++ b/yodaTab/nextcloud-integration.nix @@ -0,0 +1,15 @@ +{ config, pkgs, ... }: + +{ + users.users.yoda = { + packages = with pkgs; [ + nextcloud-client # Nextcloud sync client + gnome.nautilus-python # Python bindings for Nautilus (Files) extension API. This ... TODO + ]; + }; + + # environment.sessionVariables.NAUTILUS_4_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-4"; + # environment.pathsToLink = [ + # "/share/nautilus-python/extensions" + # ]; +}