Working on bindings

This commit is contained in:
2026-03-08 00:17:18 +01:00
parent 53dae84520
commit 6ea59f7417
+6 -6
View File
@@ -4,7 +4,6 @@
lib, lib,
user, user,
flakeRoot, flakeRoot,
userConfig,
... ...
}: }:
let let
@@ -24,9 +23,11 @@ in
# Home Manager: Hyprland-specific configurations # Home Manager: Hyprland-specific configurations
home-manager.users.${user.username} = { home-manager.users.${user.username} = {
home.stateVersion = userConfig.stateVersion; # Use config.home-manager.users.${user.username} instead of userConfig
home.username = userConfig.username; home.stateVersion = config.home-manager.users.${user.username}.stateVersion or "23.11"; # Default fallback
home.homeDirectory = userConfig.homeDirectory; home.username = user.username; # Use the 'user' argument
home.homeDirectory =
config.home-manager.users.${user.username}.homeDirectory or "/home/${user.username}";
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
@@ -35,8 +36,7 @@ in
# Merge dynamic Hyprland configs with existing xdg.configFile # Merge dynamic Hyprland configs with existing xdg.configFile
xdg.configFile = { xdg.configFile = {
# Your existing manual configs (if any) # Your existing manual configs (if any)
# "hypr/hyprland.conf".text = "...";
} }
// hyprlandConfs; # Merge dynamic configs here // hyprlandConfs;
}; };
} }