diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index 0152589c8..4f102cf2e 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -28,10 +28,9 @@ in }; # Symlink all files except hyprland.conf - home.file = lib.genAttrs otherHyprlandFiles (name: { - target = "/.config/hypr/${name}"; + xdg.configFile = lib.genAttrs otherHyprlandFiles (name: { + target = "hypr/${name}"; source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; - createSymlink = true; }); # Append the base config to hyprland.conf, preserving manual changes @@ -40,11 +39,7 @@ in # Your manual settings will go below this line and will not be overwritten ''; - # Create the directory structure - xdg.configFile = { - "hypr/.keep" = { - text = ""; - }; - }; + # Create the directory structure (optional, if not already created) + xdg.configFile."hypr/.keep".text = ""; }; }