This commit is contained in:
Peritia 2026-02-12 15:32:45 +01:00
parent b6b87d5aed
commit 9c72a71585
3546 changed files with 18655 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{
config,
lib,
nixosVista,
...
}: let
cfg = nixosVista.hyprland;
############################################################
# Generate $variables
############################################################
variables =
lib.mapAttrsToList
(name: value: "\$${name} = ${value}")
cfg.variables;
in {
config = lib.mkIf nixosVista.enable {
nixosVista.hyprland.fragments.variables = ''
############################################################
# Hyprland Variables
############################################################
# $terminal = kitty
# $fileManager = caja
# $menu = wofi --show drun
${lib.concatStringsSep "\n" variables}
'';
};
}