Added Thunar
This commit is contained in:
+46
-1
@@ -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
|
||||
<actions>
|
||||
</actions>
|
||||
''; # (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
|
||||
|
||||
Reference in New Issue
Block a user