diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index 8bde8d59b..5e1ca709d 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -35,10 +35,10 @@ in }; }; - # Add activation script to create symlinks - system.activationScripts.hyprlandLinks = '' - mkdir -p ~/.config/hypr/ - ln -sf ${flakeRoot}/assets/hyprland/conf/hypr/* ~/.config/hypr/ - ''; + # Use home.file to create explicit symlinks for each file + home.file = lib.genAttrs files (name: { + target = "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; + path = "/.config/hypr/${name}"; + }); }; }