From 6ea59f741733b1e4d52426fdb1df0ab1a52d0131 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sun, 8 Mar 2026 00:17:18 +0100 Subject: [PATCH] Working on bindings --- Droidnix/generated/hyprland/hyprland.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index 7db1ef607..a836e3c47 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -4,7 +4,6 @@ lib, user, flakeRoot, - userConfig, ... }: let @@ -24,9 +23,11 @@ in # Home Manager: Hyprland-specific configurations home-manager.users.${user.username} = { - home.stateVersion = userConfig.stateVersion; - home.username = userConfig.username; - home.homeDirectory = userConfig.homeDirectory; + # Use config.home-manager.users.${user.username} instead of userConfig + home.stateVersion = config.home-manager.users.${user.username}.stateVersion or "23.11"; # Default fallback + home.username = user.username; # Use the 'user' argument + home.homeDirectory = + config.home-manager.users.${user.username}.homeDirectory or "/home/${user.username}"; wayland.windowManager.hyprland = { enable = true; @@ -35,8 +36,7 @@ in # Merge dynamic Hyprland configs with existing xdg.configFile xdg.configFile = { # Your existing manual configs (if any) - # "hypr/hyprland.conf".text = "..."; } - // hyprlandConfs; # Merge dynamic configs here + // hyprlandConfs; }; }