small thunar and greetd changes and some refactoring

This commit is contained in:
cnst
2024-11-10 13:54:04 +01:00
parent dbba176430
commit df33d941cb
22 changed files with 77 additions and 202 deletions

View File

@@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.home.programs.thunar;
in {
options = {
home.programs.thunar.enable = mkEnableOption "Enables thunar file manager";
};
config = mkIf cfg.enable {
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
programs.xfconf.enable = true;
services.tumbler.enable = true;
environment.systemPackages = [pkgs.file-roller];
};
}