thunar moved to nixos

This commit is contained in:
cnst
2024-11-10 14:01:30 +01:00
parent df33d941cb
commit f86c5e2811
7 changed files with 15 additions and 10 deletions

View File

@@ -0,0 +1,28 @@
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.nixos.programs.thunar;
in {
options = {
nixos.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 = with pkgs; [
file-roller
];
};
}