Regenerated

This commit is contained in:
2026-03-30 00:31:21 +00:00
parent 4b17c5556f
commit 2ea5bfd4cd
3 changed files with 342 additions and 324 deletions
@@ -9,24 +9,30 @@ let
pkgs.hyprland-git or
inputs.hyprland.packages.${pkgs.system}.default;
# Lijst van bestanden in ./generated/.config/hypr
assetFiles = builtins.filter
(f: builtins.pathInfo (assetPath + "/" + f).type == "regular")
(builtins.attrNames (builtins.readDir assetPath));
# Home Manager entries voor elk bestand
hyprFilesAttrs = lib.listToAttrs (map (f: {
name = ".config/hypr/${f}";
value = { source = "${assetPath}/${f}"; };
}) assetFiles);
in
{
# Install Hyprland systemwide
environment.systemPackages = [ hyprlandPkg ];
# Home Manager user configuration
home-manager.users = {
${username} = {
home.file = hyprFilesAttrs;
home.file = {
".config/hypr/animations.conf" = { source = "${assetPath}/animations.conf"; };
".config/hypr/behaviour.conf" = { source = "${assetPath}/behaviour.conf"; };
".config/hypr/bindings.conf" = { source = "${assetPath}/bindings.conf"; };
".config/hypr/exec-once.conf" = { source = "${assetPath}/exec-once.conf"; };
".config/hypr/hypridle.conf" = { source = "${assetPath}/hypridle.conf"; };
".config/hypr/hyprland.conf" = { source = "${assetPath}/hyprland.conf"; };
".config/hypr/hyprlock.conf" = { source = "${assetPath}/hyprlock.conf"; };
".config/hypr/layer-rules.conf" = { source = "${assetPath}/layer-rules.conf"; };
".config/hypr/layout.conf" = { source = "${assetPath}/layout.conf"; };
".config/hypr/monitor-rules.conf" = { source = "${assetPath}/monitor-rules.conf"; };
".config/hypr/scripts/layout-selector.sh" = { source = "${assetPath}/scripts/layout-selector.sh"; executable = true; };
".config/hypr/theming.css" = { source = "${assetPath}/theming.css"; };
".config/hypr/window-rules.conf" = { source = "${assetPath}/window-rules.conf"; };
".config/hypr/workspace-rules.conf" = { source = "${assetPath}/workspace-rules.conf"; };
};
};
};
}