From 9df9c6f07f10c5f5ec34e2051c05d9599fb0a3d4 Mon Sep 17 00:00:00 2001 From: 0xrsydn Date: Mon, 27 Oct 2025 09:40:29 +0700 Subject: [PATCH] chore: desktop setup --- modules/nixos/hosts/desktop.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/nixos/hosts/desktop.nix b/modules/nixos/hosts/desktop.nix index 8197023..7bf3144 100644 --- a/modules/nixos/hosts/desktop.nix +++ b/modules/nixos/hosts/desktop.nix @@ -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