thunar moved to nixos
This commit is contained in:
28
modules/nixos/programs/thunar/default.nix
Normal file
28
modules/nixos/programs/thunar/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user