chore: desktop setup
This commit is contained in:
parent
2bb49bba38
commit
7a5dab4e19
2 changed files with 9 additions and 139 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue