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