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