mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-05 01:06:43 +02:00
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:
parent
dd72842221
commit
dab608bb6c
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
inherit (pkgs.xfce) thunar-volman exo;
|
||||||
|
inherit (pkgs) glib;
|
||||||
|
|
||||||
cfg = config.modules.desktop;
|
cfg = config.modules.desktop;
|
||||||
in
|
in
|
||||||
@ -12,7 +14,14 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = with cfg; {
|
config = with cfg; {
|
||||||
programs.hyprland.enable = true;
|
programs = {
|
||||||
|
hyprland.enable = true;
|
||||||
|
|
||||||
|
thunar = {
|
||||||
|
enable = true;
|
||||||
|
plugins = [ thunar-volman ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
i18n.inputMethod = mkIf japanese {
|
i18n.inputMethod = mkIf japanese {
|
||||||
enabled = "fcitx5";
|
enabled = "fcitx5";
|
||||||
@ -44,6 +53,10 @@ in
|
|||||||
|
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tumbler.enable = true;
|
||||||
|
gvfs.enable = true;
|
||||||
|
gnome.gnome-keyring.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
@ -63,6 +76,8 @@ in
|
|||||||
signal-desktop
|
signal-desktop
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
exo
|
||||||
|
glib
|
||||||
];
|
];
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user