Refactored file structure to make more sense, made default.nixes less verbose
This commit is contained in:
15
modules/home/environment/hyprland/default.nix
Normal file
15
modules/home/environment/hyprland/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
inputs,
|
||||
host,
|
||||
...
|
||||
}: let
|
||||
host_config =
|
||||
if (host == "oganesson")
|
||||
then [./desktop.nix]
|
||||
else [./laptop.nix];
|
||||
in {
|
||||
imports =
|
||||
[(import ./hyprland.nix)]
|
||||
# ++ [(import ./hyprpaper.nix)]
|
||||
++ host_config;
|
||||
}
|
||||
Reference in New Issue
Block a user