meta: Merge thunar module with desktop

Thunar is an opinionated file manager that we're using as the GUI
application of choice because it handles directories with large files
*significantly* better than Nautilus. It also supports image previews
for files that have been trashed, as well as a slew of other convenience
features such as a built-in auto-renaming tool.
This commit is contained in:
Donovan Glover 2024-04-04 10:13:02 -04:00
parent dd72842221
commit dab608bb6c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 16 additions and 24 deletions

View File

@ -2,6 +2,8 @@
let
inherit (lib) mkEnableOption mkIf;
inherit (pkgs.xfce) thunar-volman exo;
inherit (pkgs) glib;
cfg = config.modules.desktop;
in
@ -12,7 +14,14 @@ in
};
config = with cfg; {
programs.hyprland.enable = true;
programs = {
hyprland.enable = true;
thunar = {
enable = true;
plugins = [ thunar-volman ];
};
};
i18n.inputMethod = mkIf japanese {
enabled = "fcitx5";
@ -44,6 +53,10 @@ in
pulse.enable = true;
};
tumbler.enable = true;
gvfs.enable = true;
gnome.gnome-keyring.enable = true;
};
environment.systemPackages = with pkgs; [
@ -63,6 +76,8 @@ in
signal-desktop
ungoogled-chromium
qbittorrent
exo
glib
];
services.greetd = {

View File

@ -1,23 +0,0 @@
{ pkgs, ... }:
let
inherit (pkgs.xfce) thunar-volman exo;
inherit (pkgs) glib;
in
{
programs.thunar = {
enable = true;
plugins = [ thunar-volman ];
};
services = {
tumbler.enable = true;
gvfs.enable = true;
gnome.gnome-keyring.enable = true;
};
environment.systemPackages = [
exo
glib
];
}