From ba61474ff1edd9d04c3256ab9ec0528edd06ce66 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sat, 14 Mar 2026 12:34:00 +0000 Subject: [PATCH] Added Thunar --- Droidnix/README.org | 47 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/Droidnix/README.org b/Droidnix/README.org index 23eca103f..d400c3c58 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -1527,12 +1527,57 @@ This is top file of this level which contains just an import statement for all r { config, pkgs, lib, user, inputs, flakeRoot,... }: { imports = [ - # No subfolders to import + ./thunar.nix ]; # .. put any code here } #+END_SRC +** =generated/system/applications/file_management/thunar.nix= +This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder +#+BEGIN_SRC nix :tangle generated/system/applications/file_management/thunar.nix :noweb tangle :mkdirp yes :eval never-html +{ config, pkgs, ... }: + +{ + # Enable Thunar and its plugins + xdg.configFile."thunar/uca.xml".text = '' # Optional: User-defined actions config + + + ''; # (Customize as needed) + + home-manager.users.${config.home.username} = { + xdg.mimeApps = { + defaultApplications = { + "inode/directory" = "Thunar.desktop"; + }; + }; + + home.packages = with pkgs; [ + thunar + thunar-volman # Automatic volume management (e.g., USB drives) + thunar-media-tags-plugin # Media tags support (e.g., for audio files) + thunar-archive-plugin # Archive (zip/tar/etc.) support + thunar-shares-plugin # SMB/NFS share browsing + tumbler # Thumbnail generation service + ffmpegthumbnailer # Video thumbnails + gst-libav # Additional media thumbnail support + gvfs # Virtual filesystem support (e.g., trash, FTP, SMB) + gvfs-mtp # MTP device support (e.g., Android phones) + gvfs-afc # AFC support (e.g., iOS devices) + gvfs-smb # SMB/CIFS network shares + gvfs-nfs # NFS network shares + xdg-utils # Open files with default applications + ]; + + # Optional: GTK theme integration (e.g., Catppuccin Mocha) + gtk.enable = true; + gtk.gtk3.theme.name = "Adwaita-dark"; # Or "Catppuccin-Mocha-Dark" + gtk.gtk3.iconTheme.name = "Adwaita"; + }; +} + +#+END_SRC + ** =generated/system/applications/gaming/top.nix= This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder #+BEGIN_SRC nix :tangle generated/system/applications/gaming/top.nix :noweb tangle :mkdirp yes :eval never-html