Extract a thunar mixin

This commit is contained in:
Oliver Davies 2025-04-05 09:00:00 +01:00
parent 0ff85547a8
commit 6d744eb2ed
4 changed files with 14 additions and 26 deletions
modules/nixos/desktop

View file

@ -4,6 +4,5 @@
./peek.nix
./screenkey.nix
./st.nix
./thunar.nix
];
}

View file

@ -1,24 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib;
{
options.nixosModules.thunar.enable = mkEnableOption "Enable thunar";
config = mkIf config.nixosModules.thunar.enable {
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
];
};
environment.systemPackages = with pkgs; [ xfce.tumbler ];
};
}