24 lines
654 B
Nix
24 lines
654 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
let
|
|
username = config.defaultUser or "henrov";
|
|
in
|
|
{
|
|
# Install Thunar and essential plugins
|
|
environment.systemPackages = with pkgs; [
|
|
thunar # main file manager
|
|
thunar-archive-plugin # archive support (zip, tar, etc.)
|
|
thunar-volman # auto-mount removable drives
|
|
gvfs # virtual filesystem for external drives
|
|
xarchiver # optional GUI archive manager
|
|
];
|
|
|
|
# Home Manager session variables
|
|
home-manager.users.${username} = {
|
|
home.sessionVariables = {
|
|
FILE_MANAGER = "thunar";
|
|
USERNAME = username;
|
|
};
|
|
};
|
|
}
|