Regenerated

This commit is contained in:
2026-03-21 19:47:47 +00:00
parent 79a9cd8aa1
commit 73284fa1da
29 changed files with 1457 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;
# };
};
}