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