24 lines
569 B
Nix
24 lines
569 B
Nix
{ lib, config, ... }:
|
|
|
|
let
|
|
username = config.defaultUser or "henrov";
|
|
assetPath = ../../../assets/hyprland/conf/hypr;
|
|
mainConfigPath = "${assetPath}/hyprland.conf";
|
|
in
|
|
{
|
|
# --- ExtraFragment for aggregator ---
|
|
homeManagerExtraUserFragment = {
|
|
"${username}" = {
|
|
|
|
# Minimal example setting
|
|
settings.general."col.active_border" = lib.mkForce "0xff97cbcd 0xff89b4fa";
|
|
};
|
|
|
|
# Deploy the main Hyprland config file
|
|
xdg.configFile = {
|
|
"hypr/hyprland.conf".text = builtins.readFile mainConfigPath;
|
|
};
|
|
};
|
|
};
|
|
}
|