chore: desktop setup

This commit is contained in:
Rasyidan Akbar F. 2025-10-27 09:34:52 +07:00
commit 7a5dab4e19
2 changed files with 9 additions and 139 deletions

View file

@ -1,12 +1,10 @@
{ lib, pkgs, ... }:
let
hardwareConfigPath = builtins.toString ./.
+ "/../desktops/hardware-configuration.nix";
hardwareModule = if builtins.pathExists hardwareConfigPath then
import hardwareConfigPath
else
(_: { });
in {
hardwareConfigPath = builtins.toString ./. + "/../desktops/hardware-configuration.nix";
hardwareModule =
if builtins.pathExists hardwareConfigPath then import hardwareConfigPath else (_: { });
in
{
# Unified desktop configuration for gaming and development
# Includes both KDE Plasma and Hyprland - switch at login screen
@ -15,6 +13,10 @@ in {
# Hardware
hardwareModule
# Audio & Graphics
../audio.nix
../graphics.nix
# Desktop Environments
../desktops/plasma.nix # KDE Plasma (for gaming)
../desktops/hyprland # Hyprland (for development)