chore: desktop setup

This commit is contained in:
Rasyidan Akbar F. 2025-10-27 09:40:29 +07:00
commit 9df9c6f07f

View file

@ -1,10 +1,12 @@
{ 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