(laptop) Gen 18: added separate hyprland config logic to differentiate between laptop and desktop environments

This commit is contained in:
pagedmov
2024-10-14 03:27:49 -04:00
parent 6dbe561378
commit 182737c227
5 changed files with 209 additions and 8 deletions

View File

@@ -1,8 +1,11 @@
{ inputs, ... }:
{ inputs, host, ... }:
let
host_config = if (host == "desktop") then [ ./desktop.nix ] else [ ./laptop.nix ];
in
{
imports =
[ (import ./hyprland.nix) ]
++ [ (import ./config.nix) ]
++ [ (import ./hyprpaper.nix) ];
++ [ (import ./hyprpaper.nix) ]
++ host_config;
}