Regenerated

This commit is contained in:
2026-03-21 14:39:39 +00:00
parent b826ce7e69
commit be88061b3d
29 changed files with 1475 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{ lib, pkgs, config, ... }:
let
enableProgram = config.enableThunar or false;
username = config.defaultUser or "henrov";
in
{
# Top-level toggle
options.enableThunar = lib.mkEnableOption "Enable Thunar file manager";
# Only apply config if enabled
config = lib.mkIf enableProgram {
# Install Thunar and related packages system-wide
environment.systemPackages = [
pkgs.thunar
pkgs.thunar-plugins
pkgs.xarchiver
];
# Remove invalid top-level 'home' reference
# If you want sessionVariables, define them in Home Manager instead
# Example for Home Manager:
# home-manager.users.${username}.sessionVariables = {
# FILE_MANAGER = "thunar";
# USERNAME = username;
# };
};
}