Files
nixos/Droidnix/generated/modules/desktop/hyprland.nix
T
2026-03-20 14:22:53 +00:00

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;
};
};
};
}