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, ... }: { lib, pkgs, ... }:
let let
hardwareConfigPath = builtins.toString ./. + "/../desktops/hardware-configuration.nix"; hardwareConfigPath = builtins.toString ./.
hardwareModule = + "/../desktops/hardware-configuration.nix";
if builtins.pathExists hardwareConfigPath then import hardwareConfigPath else (_: { }); hardwareModule = if builtins.pathExists hardwareConfigPath then
in import hardwareConfigPath
{ else
(_: { });
in {
# Unified desktop configuration for gaming and development # Unified desktop configuration for gaming and development
# Includes both KDE Plasma and Hyprland - switch at login screen # Includes both KDE Plasma and Hyprland - switch at login screen